Friday, April 10, 2009

Loading rails project using irb

You can load rails project in irb. for instance in your rail's project directory you start irb. Then you only need to require environment.rb file. Such as require 'config/environment.rb' in irb and thats it now you can access your project's model, etc.

No comments: