diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-05 10:08:38 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-05 10:08:38 -0700 |
commit | 9a08517c8dad9824bc24c1c9874343d3d70b5360 (patch) | |
tree | 72761ce2cb4f529830c0e0d44ec202bc252aebdf /activerecord/lib/active_record/connection_adapters/abstract | |
parent | 710dcf826a073720b817389fe1b7013fb87be659 (diff) | |
download | rails-9a08517c8dad9824bc24c1c9874343d3d70b5360.tar.gz rails-9a08517c8dad9824bc24c1c9874343d3d70b5360.tar.bz2 rails-9a08517c8dad9824bc24c1c9874343d3d70b5360.zip |
converted exec to exec_query for sqlite
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index 6178130c00..ee9a0af35c 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -50,7 +50,7 @@ module ActiveRecord # Executes +sql+ statement in the context of this connection using # +binds+ as the bind substitutes. +name+ is logged along with # the executed +sql+ statement. - def exec(sql, name = 'SQL', binds = []) + def exec_query(sql, name = 'SQL', binds = []) end # Returns the last auto-generated ID from the affected table. |