diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 22:36:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 22:36:16 +0000 |
commit | 8d5d7161eb3817c5469384b94a58eb82d17c0362 (patch) | |
tree | 9df31fe72f86d7e3a56d93d9f1b9fe81cf8e1368 /activerecord/lib/active_record/associations/association_collection.rb | |
parent | 1497522ab0b84f39a04774b4a6a86dea32aa9a3e (diff) | |
download | rails-8d5d7161eb3817c5469384b94a58eb82d17c0362.tar.gz rails-8d5d7161eb3817c5469384b94a58eb82d17c0362.tar.bz2 rails-8d5d7161eb3817c5469384b94a58eb82d17c0362.zip |
Remove length alias of size
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/association_collection.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/association_collection.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb index ca2adaa9c9..ca87fae5ff 100644 --- a/activerecord/lib/active_record/associations/association_collection.rb +++ b/activerecord/lib/active_record/associations/association_collection.rb @@ -90,8 +90,6 @@ module ActiveRecord def uniq(collection = self) collection.inject([]) { |uniq_records, record| uniq_records << record unless uniq_records.include?(record); uniq_records } end - - alias_method :length, :size protected def loaded? |