Tuesday 15 January 2013

sinatra - ActiveSupport::Dependencies.autoload_paths: How to eager load? -


I am using ActiveSupport in a Syratta project, and according to some colleagues I recommend ActiveSupport :: Dependencies Development To reduce the loading of my classes in Autoload_paths Now I'm coming on deployment day, and I do not really have to load them eager to train which would be easy: one would simply set config.cache_classes = true and go about his way. But in the Sinatra app, I am failing to see how it should be eager to load them.

If you have a rail gem installed, you can reach it directly through the railroad and Can manipulate

Rails.application.config.cache_classes = true

No comments:

Post a Comment