diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-11-21 00:35:11 +0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-24 01:37:00 +0800 |
commit | 1b531b7ee2054beadb23853d79b15d588b9ffd88 (patch) | |
tree | a8a091f6c02dc45eaece0d651c0f40656503cd10 /activerecord/lib | |
parent | b8df3a9197252ec62f390ef1f8cd0e0e827c6252 (diff) | |
download | rails-1b531b7ee2054beadb23853d79b15d588b9ffd88.tar.gz rails-1b531b7ee2054beadb23853d79b15d588b9ffd88.tar.bz2 rails-1b531b7ee2054beadb23853d79b15d588b9ffd88.zip |
Remove explicit return.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_association.rb b/activerecord/lib/active_record/associations/has_many_association.rb index 830a82980d..a682ec52d8 100644 --- a/activerecord/lib/active_record/associations/has_many_association.rb +++ b/activerecord/lib/active_record/associations/has_many_association.rb @@ -46,7 +46,7 @@ module ActiveRecord count = [ @reflection.options[:limit], count ].min end - return count + count end def has_cached_counter? |