Custom your own category :

  • 1. Choose the categories by select the check box before category names.
  • 2. Choose the methode to combain the choosen categories between 'Slice' or 'Union' in the drop down list.
  • 3. Execute with click the 'Go' button.

You are currently browsing the archives for the Ruby on Rails category.

Design Principles in Ruby on Rails

Custom Programming, Framework, Ruby on Rails, Web Articles for Dummies



Within the last few years Ruby on Rails (RoR or just simply Rails) has gained great popularity in the way people develop web applications. It offers web developers to make an architecturally clean web application at a relatively faster time, compared to many existing technologies known. By clean architecture, I mean an application that you could painlessly maintain, change, and extend to meet the objectives of why it’s built, even perhaps by someone who initially didn’t develop it..

..

And thus enters Ruby on Rails. Rails is developed to meet these requirements, it is expected to help developers build a flexible, scalable, and easy-to-maintain web application in a rapid way. Rails achieves this because it follows certain software design principles, which are:

  • MVC: Models - Views - Controllers
  • Conventions over Configurations
  • DRY: Don’t Repeat Yourself

Full article: http://www.slepi.net

License: Creative Commons Attribution 3.0 Unported

Add to any service

Indexed in June 2008

Related Info Web

How to switch your default session store

Framework, Ruby on Rails



About Rails session stores

Sessions allow you to store objects in memory between requests. This is useful for objects that are not yet ready to be persisted, such as a Signup object constructed in a multi-paged process, or objects that don’t change much and are needed all the time, such as a User object for a system that requires login..

Rails has several different methods of storing the session data. They are:

  • PStore (default in Rails 1.x)
  • ..

Switching from one type of session store to another

For various reasons, you may find yourself wanting to switch the type of session store you are using. It seems simple enough, just update config.action_controller.session_store in your environment, redeploy and you’re done! Right? Well, there’s a problem ..

Full article: http://rails.learnhub.com

License: Creative Commons Attribution-Share Alike 3.0 Unported

Add to any service

Indexed in June 2008

Related Info Web

My First Impressions of NetBeans Ruby IDE for JRuby on Rails Development

Framework, Free for Web, Ruby on Rails, Tools



..

In recent weeks, I started seeing several posts about using NetBeans for RoR development, and in particular, this post persuaded me to download it and try it. I just started using the NetBeans Ruby IDE this week, and I may be just about ready to convert for good.

NetBeans, UI seems to be pretty logically organized, and its various panels somehow seem better integrated than similar panels (or “views”) in Eclipse. Compared with the functionality of RadRails, NetBeans Ruby/RoR features seem to be more mature, more robust, better organized and easier to use..

Full article: http://www.stonemind.net

License: Creative Commons Attribution - ShareAlike 2.5

Add to any service

Indexed in May 2008

Related Info Web

Rails and Scaling with Multiple Databases

Custom Programming, Database, Framework, Ruby on Rails



Joe points out the following from this interview with Twitter’s Alex Payne:

The problem is that more instances of Rails (running as part of a Mongrel cluster, in our case) means more requests to your database. At this point in time there’s no facility in Rails to talk to more than one database at a time.

..

In my case, ActiveRecord provided exactly the right level of functionality. I can have multiple database connections established and write code to manage when each should be used. Control of which connection is used is managed at the model level. Connections cascade up inheritance chains and I can specify that one model use the connection specified on another model using a simple delegate statement:

class A < ActiveRecord::Base
end

class B < ActiveRecord::Base
   class << self
     delegate :connection, :to => A
   end
end

Full article: http://tomayko.com/writings/rails-multiple-connections

License: Creative Commons

Add to any service

Indexed in May 2008

Related Info Web

Ruby on Rails, Django, and other software crusades

Django, Framework, Ruby on Rails



As I suggested in an earlier post, I’d like to discuss the choices that we as software developers have when it comes to implementing applications. These choices can be as fundamental as your programming language, your choice of tools, such as your IDE, or the libraries you use, such as your ORM or AJAX choice..

..

They are not new, and they will continue to flourish every so often. Most recently, the theater of combat is Ruby on Rails (RoR) vs. Django and usually close on its heals: Ruby vs. Python.

Full article: http://www.stonemind.net

License: Creative Commons Attribution - ShareAlike 2.5

Add to any service

Indexed in May 2008

Related Info Web

Better Performance for Ruby on Rails

Framework, Ruby on Rails, Web Performance



Everyone knows how good “Ruby on Rails” is from the point of view of developing, maintaining and deploying applications easily and quickly. But the one question that every one seems to be asking “Is “Ruby on Rails” scalable?”..

..

These are some tips that can help increase the performance of your application. With this you should be able to at least improve the performance for you application 25 fold.

*mod_ruby*

When you use ruby in cgi mode the interpreter is loaded every time a request is made..

Full article: http://www.hyperionreactor.net/node/16

License: Creative Commons Attribution 2.5

Add to any service

Indexed in April 2008

Related Info Web

Best Ruby on Rails Cms

CMS, Framework, Ruby on Rails



If you are looking for the best Ruby on Rails Content Management System (CMS), then Radiant should be on your short list of options. Radiant provides all the facilities of a content management system in a very easy and powerful way. It can help you by creating a nice, clean, organized website for personal or corporate purposes.

Full article: http://www.articlesbase.com

License: Creative Commons License

Add to any service

Indexed in April 2008

Related Info Web

Why Trails is better than Rails

Framework, Free for Web, Ruby on Rails



I haven’t used much of the new “Rails”type development kits yet. However, if I have to choose amongst them, I would be choosing Trails. The main problem with Grails (and Rails) is you are adding a new language to the mix. If all you have are highly skilled developers and not planning to do Global Resourcing then that’s all cool..

..

So why Trails? Trails, although it is still in its infancy, is better geared for application development with a larger team and multiple roles (i.e., web developer, application developer) and can more easily leverage existing skills of Java developers. Here are the things that Trails has it going for:..

Full article: http://www.trajano.net

License: Creative Commons Attribution-Share Alike 3.0

Add to any service

Indexed in April 2008

Related Info Web

How i18n is solved in Django, RoR and Struts

Django, Framework, Ruby on Rails



Internationalization in
-> Django (a python web framework)
-> Ruby-On-Rails
-> Struts

Django and RoR have very similar solutions to internationalization. Both rely on the GNU gettext tool, which serves messages from the according localised .mo-files. While a developer write his code, all he has to do to enable the localization of the application is to use the gettext-method (resp their python or ruby-equivalent).

..

Struts follows a different approach, which is somewhat similar to how it is solved in twoday:

Full article: http://michi.knallgrau.at/blog/stories/1237607/

License: Creative Commons License

Add to any service

Indexed in April 2008

Related Info Web

Selecting a rails hosting service

Framework, Ruby on Rails, Web Hosting



Is there is one thing you could agree with, it is that there are many hosting options for your Ruby on Rail application. And this is a good thing for you. This is good because this means that there are a lot of companies competing for your business.

..

To help you get started, here’s the list I used when selecting a hosting service:

rails support: that’s the main reason you are looking for a hosting solution. So get the best you can get! This one almost trumps all the others..

Full article: http://blog.nanorails.com

License: Creative Commons Attribution

Add to any service

Indexed in April 2008

Related Info Web