diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-20 20:45:08 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-20 20:48:00 -0200 |
commit | de3bf3ec3d7dfa81870aca5b8ed8c237e093fe9f (patch) | |
tree | 676c1d0ed5a76159976500b89d499eb4a3165b21 /activerecord | |
parent | bc625080308e4853ae3036f2ad74fe3826e463ef (diff) | |
download | rails-de3bf3ec3d7dfa81870aca5b8ed8c237e093fe9f.tar.gz rails-de3bf3ec3d7dfa81870aca5b8ed8c237e093fe9f.tar.bz2 rails-de3bf3ec3d7dfa81870aca5b8ed8c237e093fe9f.zip |
Remove unneded argument
This variable is internal and should not be exposed to end users
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index f152891888..0fc63343ab 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -20,11 +20,11 @@ module ActiveRecord alias :model :klass alias :loaded? :loaded - def initialize(klass, table, values = {}, offsets = {}) + def initialize(klass, table, values = {}) @klass = klass @table = table @values = values - @offsets = offsets + @offsets = {} @loaded = false end |