Sven Fuchs wrote:
> # somewhere
> Rails::Plugin.class_eval do
> def reloadable!
> load_paths.each { |p| Dependencies.load_once_paths.delete(p) }
> end
> end
>
> # in your plugin init.rb
> reloadable!
evil, evil hack :|
thanks thou...
they could make vendor/plugins/load_once/ and vendor/plugins/reloadable
...
perhaps i'll make a patch and fix it! =) it would be cool :)
what do you think of this idea?
_______________________________________________
Engine-Developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org