Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
04/06/08 00:27:12 (5 months ago)
Author:
pratik
Message:

Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Association callbacks and <association>_ids= now work with hm:t. Closes #11516 [rubyruy]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/associations/association_proxy.rb

    r9226 r9230  
    88    #     BelongsToPolymorphicAssociation 
    99    #     AssociationCollection 
     10    #       HasAndBelongsToManyAssociation 
    1011    #       HasManyAssociation 
    11     #       HasAndBelongsToManyAssociation 
    12     #     HasManyThroughAssociation 
    13     #       HasOneThroughAssociation 
     12    #         HasManyThroughAssociation 
     13    #            HasOneThroughAssociation 
    1414    # 
    1515    # Association proxies in Active Record are middlemen between the object that