mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove length alias of size
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
1497522ab0
commit
8d5d7161eb
1 changed files with 0 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue