Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8562

Show
Ignore:
Timestamp:
01/05/08 02:21:25 (6 months ago)
Author:
bitsweat
Message:

Document that .build doesn't apply to has_many :through associations. Closes #10707 [GMFlash]

Files:

Legend:

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

    r8556 r8562  
    131131    #   #others.push                      |   X   |    X     |    X 
    132132    #   #others.concat                    |   X   |    X     |    X 
    133     #   #others.build(attributes={})      |   X   |    X     |    X 
     133    #   #others.build(attributes={})      |   X   |    X     | 
    134134    #   #others.create(attributes={})     |   X   |    X     | 
    135135    #   #others.create!(attributes={})    |   X   |    X     |    X