Thanks guys, that worked a treat. It's nice to understand what's going on under the hood. :-)
Dave. On Sep 16, 4:00 am, "Michael Koziarski" <[EMAIL PROTECTED]> wrote: > > Hi all, I'm posting this in the hope that someone who understands > > rails dependencies can shed some light. > > Basically the problem is that it's trying to remove that module, but > ActiveRecord::Base still references it. So your module has to live > outside of the reloading paths. Either in a plugin or some other path > you manually add to load_once_paths (as frederick mentioned). > > If you want to reload this module you can simulate it with just: > > load 'model_security.rb' > > It's not strictly the same, but it will have the desired result for you. > > -- > Cheers > > Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
