> probably issues with the code reloading stuff (if this is happening in > development) or the code preloading (if this is happening in > production) > For the former errant requires are often a cause. For the latter this > can be due to the fact that models are now loaded before the code at > the bottom of initializer.rb is run > > Fred
Hi Fred, The problem occurs on both environments. The method is defined in the User model, so how can I change this behavior (or my code) to circumvent this. Shall I look for all 'require ..' in config/initializers to see if they are causing the problem? thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

