See this line in your config/environment.rb
# Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/extras )
Manisha Tripathy escribió:
See this line in your config/environment.rb
# Add additional load paths for your own custom dirs # config.load_paths += %W( #{RAILS_ROOT}/extras )
Manisha Tripathy escribió:
yes, do I need to uncomment it?
Juan José Vidal wrote:
Obviously.
Manisha Tripathy escribió:
You must put your path in this line...
Manisha Tripathy escribió:
You can see some examples in:
http://www.strictlyuntyped.com/2008/06/rails-where-to-put-other-files.html http://www.depixelate.com/2007/12/13/actionwebservice-with-rails-2-0 http://railsguts.com/initialization.html http://www.benjaminbooth.com/tableorbooth/2006/11/rails_and_load_.html
Manisha Tripathy escribió:
thanks a lot , it works now I just needed to add the folder name also in the require '' line thaks a lot for the help
Juan José Vidal wrote: