Permalink
Browse files

Remove length alias of size

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 1497522 commit 8d5d7161eb3817c5469384b94a58eb82d17c0362 @dhh dhh committed Jan 11, 2005
Showing with 0 additions and 2 deletions.
  1. +0 −2 activerecord/lib/active_record/associations/association_collection.rb
@@ -90,8 +90,6 @@ def empty?
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?

0 comments on commit 8d5d716

Please sign in to comment.