How to force reload all vendor/plugins in rails 2.3 (development mode)
Posted
by tsdbrown
on Stack Overflow
See other posts from Stack Overflow
or by tsdbrown
Published on 2010-03-17T20:58:21Z
Indexed on
2010/03/17
21:01 UTC
Read the original article
Hit count: 580
We have an application with a app/model that references another model stored in a plugin.
When the app/model level is reloaded on the second and further requests and that relies on our model in vendor/plugins/... (which stays loaded) it fails (can't dup nil class).
We've tried setting config.reload_plugins = true
in the development.rb but this doesn't seem to do it.
Does anybody know a way to handle this?
© Stack Overflow or respective owner