diff options
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/statement_cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/statement_cache.rb b/activerecord/lib/active_record/statement_cache.rb index 677b637a59..8cffafde2f 100644 --- a/activerecord/lib/active_record/statement_cache.rb +++ b/activerecord/lib/active_record/statement_cache.rb @@ -33,7 +33,7 @@ module ActiveRecord end def self.query(connection, visitor, ast) - Query.new connection, visitor.accept(ast) + Query.new visitor.accept(ast) end def self.partial_query(visitor, ast) |