> Well it looks as though the easy fix is to change the dependent
> callbacks in associations.rb to use reflection.klass instead of
> reflection.class_name. However it does break things if you have out
> of order associations when you declare multiple models in a single
> file. This happens with the company.rb model file in the ActiveRecord
> tests - rearranging the order of the classes in the file allows it to
> work and all it then passes all the tests.
>
> Shall I submit a patch with this fix or is it likely to be rejected?

Submit the patch with that fix and we can investigate the potential
breakage once it's ready.

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to