Bug in associations or not?

def has_many
if options[:through]
          collection_reader_method(reflection,
HasManyThroughAssociation) <--- FIRST CALL
          collection_accessor_methods(reflection,
HasManyThroughAssociation, false) <-- CALLED AGAIN INSIDE THIS METHOD
else
....




def collection_accessor_methods(reflection, association_proxy_class,
writer = true)
          collection_reader_method(reflection,
association_proxy_class) <-- SECOND CALL WITH SAME ARGUMENTS
....



Looks like collection_reader_method is being called twice with the
same arguments.

Bob Silva

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