Hey there,
I''m trying to figure out why suddenly my plugins won''t auto
reload on
request anymore. I used to use this code to make it work:
if RAILS_ENV == ''development''
Dependencies.load_once_paths.flatten.each do |path|
Dependencies.load_once_paths.delete(path) if path =~ /plugins\/
company_/
end
end
But when it stopped working, I started trying:
Dependencies.load_once_paths = []
and it didn''t make a difference.
I have this code in an initializer. I''m using Rails 2.0.1. This
started happening before I upgraded from edge to stable and the
upgrade didn''t fix anything. Any ideas?
Thanks in advance,
Rick
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---