On Sat, Feb 5, 2011 at 8:39 PM, tashfeen.ekram <[email protected]> wrote:
> finally figured it out. it is a features of rails 3.0. > > http://edgeguides.rubyonrails.org/configuring.html > > "config.eager_load_paths accepts an array of paths from which Rails > will eager load on boot if cache classes is enabled. Defaults to every > folder in the app directory of the application. All elements of this > array must also be in load_paths." Yes, I commented it above. But eager loading does NOT happen on rake tasks no matter the environment. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

