This project is archived and is in readonly mode.
config.reload_plugins = true only works in environment.rb
Reported by Andrew White | March 24th, 2009 @ 06:27 AM | in 3.x
The seemingly obvious place to add config.reload_plugins = true is in development.rb, however this doesn't work because add_plugin_load_paths is called before load_environment. I'm not sure whether this is a documentation issue or whether to come up with a patch.
Setting it in environment.rb shouldn't have any detrimental effect in production (I think), so a documentation update would be the easiest fix. However, if a patch is preferred maybe it'd be better to add a new process step rather than moving add_plugin_load_paths to after load_environment as changing the order of the process steps always seems to break something.
Comments and changes to this ticket
-
Jeff Kreeftmeijer November 7th, 2010 @ 04:57 PM
- Tag cleared.
- Importance changed from to Low
Automatic cleanup of spam.
-
JackC January 13th, 2011 @ 04:18 PM
config.reload_plugins = true in development.rb is working for me on Rails 3.0.2 running in development mode through Passenger/Apache2.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>