diff options
author | Marcel Molina <marcel@vernix.org> | 2007-11-06 23:20:22 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2007-11-06 23:20:22 +0000 |
commit | a291ea2bc9e8332855528e3300ed9259d0657b69 (patch) | |
tree | 4e1502cdb46fc9658a9549dcfb9888c9df3f8fea /activerecord/lib/active_record | |
parent | 4e7d332baf800a526b1cb91be783d3df1d88fd20 (diff) | |
download | rails-a291ea2bc9e8332855528e3300ed9259d0657b69.tar.gz rails-a291ea2bc9e8332855528e3300ed9259d0657b69.tar.bz2 rails-a291ea2bc9e8332855528e3300ed9259d0657b69.zip |
Update association/method mapping table to refected latest collection methods for has_many :through. Closes #8772 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index b250af47e8..fcc041beca 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -125,7 +125,7 @@ module ActiveRecord # ----------------------------------+-------+----------+---------- # #others | X | X | X # #others=(other,other,...) | X | X | - # #other_ids | X | X | + # #other_ids | X | X | X # #other_ids=(id,id,...) | X | X | # #others<< | X | X | X # #others.push | X | X | X @@ -133,15 +133,15 @@ module ActiveRecord # #others.build(attributes={}) | X | X | X # #others.create(attributes={}) | X | X | # #others.create!(attributes={}) | X | X | X - # #others.size | X | X | - # #others.length | X | X | - # #others.count | | X | + # #others.size | X | X | X + # #others.length | X | X | X + # #others.count | | X | X # #others.sum(args*,&block) | X | X | X - # #others.empty? | X | X | + # #others.empty? | X | X | X # #others.clear | X | X | # #others.delete(other,other,...) | X | X | X # #others.delete_all | X | X | - # #others.destroy_all | X | X | + # #others.destroy_all | X | X | X # #others.find(*args) | X | X | X # #others.find_first | X | | # #others.uniq | X | X | |