[Rails] Re: Global Modules in Rails3?
Hey Dermot, Thanks a Ton that did if for me :)
On Feb 5, 6:47 pm, Dermot Brennan <dermot.bren...@gmail.com> wrote:
> Also, if you put
>
> config.autoload_paths += %W(#{config.root}/lib)
>
> in config/application.rb, then you don't need to use require 'cool_code'.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home