You can create a myrequires.rb in config/initializers and put all your
require in there, I guess. there''s nothing magical about the name
myrequires.rb, btw. I chose it because it''s unlikely to conflict with
something else.
On Jun 17, 1:42 am, Dave Grijalva
<grija...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> While upgrading my app to use Rails 2.1, the clean place to put my gem
> requires makes my non-gem requires stand out as needing a place to
> live. Where is the best place to put requires of either libs from my
> app (in the lib directory) or standard libs (such as digest/md5)?
> Right now, I have a huge paragraph of these requires just before my
> Rails::Initializer.run.
>
> It seems like maybe I should create an initializer for these. What is
> the standard wisdom here?
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
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
-~----------~----~----~----~------~----~------~--~---