aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAkshay Khole <akshay@reversehack.in>2013-05-05 00:25:22 +0530
committerAkshay Khole <akshay@reversehack.in>2013-05-05 00:25:22 +0530
commit20549051f899c8f85cd3592d1ad6490a951392e2 (patch)
tree70f865a7cf283676e339536d340c244c7652f3f9 /activerecord/lib/active_record
parent4110abea002a1725b9a1c80df44cc46842a66856 (diff)
downloadrails-20549051f899c8f85cd3592d1ad6490a951392e2.tar.gz
rails-20549051f899c8f85cd3592d1ad6490a951392e2.tar.bz2
rails-20549051f899c8f85cd3592d1ad6490a951392e2.zip
Changing method call according to coding conventions
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index df729259e9..88b09e7999 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -768,7 +768,7 @@ module ActiveRecord
end
def exec_cache(sql, binds)
- stmt_key = prepare_statement sql
+ stmt_key = prepare_statement(sql)
# Clear the queue
@connection.get_last_result