I have a trivial Singleton class in my 'lib' folder, which has some instance variables that I setup by calling a configure method from an initializer. The initializer seems to execute just fine and sets up the singleton instance. However, when I reference that same singleton instance in a controller later, the instance variables are all nil, as though the class was reloaded.
I've tried to do this in various forms using class variables, class instance variables, but in every scenario, it seems the classes are reloaded and all of the variables are nil. Is there something special about how initializers run? Environment - Windows Vista Ruby 1.8.6 Rails 2.3.4 WEBrick -Nathan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

