Permalink
Browse files

Remove unneded argument

This variable is internal and should not be exposed to end users
  • Loading branch information...
1 parent bc62508 commit de3bf3ec3d7dfa81870aca5b8ed8c237e093fe9f @rafaelfranca rafaelfranca committed Jan 20, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/relation.rb
View
4 activerecord/lib/active_record/relation.rb
@@ -20,11 +20,11 @@ class Relation
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

0 comments on commit de3bf3e

Please sign in to comment.