diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-09 15:15:37 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-09 15:15:37 -0800 |
commit | c560c8b2ba2af2ff1942e40b8eff8287354bf7d8 (patch) | |
tree | 5ce75d028bc92fdd405a09f48d8e9dca1ccdb9cd /activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | |
parent | 37efb517cb87c0894d8ecaa2066c5be6283f5450 (diff) | |
download | rails-c560c8b2ba2af2ff1942e40b8eff8287354bf7d8.tar.gz rails-c560c8b2ba2af2ff1942e40b8eff8287354bf7d8.tar.bz2 rails-c560c8b2ba2af2ff1942e40b8eff8287354bf7d8.zip |
log method takes an option list of bind values
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index cdf1ebfee4..368c5b2023 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -331,7 +331,7 @@ module ActiveRecord end def exec_query(sql, name = 'SQL', binds = []) - log(sql, name) do + log(sql, name, binds) do result = nil cache = {} |