2009/9/4 ms <[email protected]>: > > Hi, > > thanks for your device, but I also tried this. I restarted my whole > machine to be sure. But it does not work. I found out something new: > If I include this method from a module, it can be found. But all the > other methods are not found - also the association proxies! > > It seems to me, that rails just instantiates a raw ActiveRecord object > just with the name of my model. The list of methods you get with > ".methods()" only contains the default inherited methods. I am > absolutely confused.
I presume that we are talking about the same server hardware running in production vs development mode here? Are you using the same server s/w? Webrick or whatever. I believe the differences between the two modes are purely the differences between production.rb and development.rb in config/environments (config.action_controller.perform_caching and so on). Have you modified one of these away from the default? If not then you could change the contents of production.rb to be the same as development.rb and then iteratively change it back till you find the trigger that makes it fail. This may give a clue. Colin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

