I'm trying to track down a bug with my application in edge Rails and discovered that somewhere after the first time I access the associations for my AR class, the reflections for the class are reset to nil! This, of course, wreaks havoc with my ability to use the class' associations, specifically some :includes I'm trying to process in a find().
This doesn't occur with gem rails, and I'm trying to figure out where it might be happening. Its running in development mode, so it is reloading classes, but this is within a single request, so no reload is happening. Watching the AR::Reflection::Classmethods#create_reflection and #reflection methods suggests that it is happening somewhere else, but I can't seem to find anywhere else in the sources where it might clear this. Can anyone help me track down this bug? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
