Ruby on Rails
Thursday, December 9, 2010
Best way to load module/class from lib folder in Rails 3
Since the latest Rails 3 release is not auto-loading modules and classes from lib anymore
config.autoload_paths += Dir["#{config.root}/lib/**/"] give this in your /config/application.rb file
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment