diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-17 11:00:04 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-17 11:00:04 -0800 |
commit | ed5b076ff6b5e187db849728df313876c1e7fa39 (patch) | |
tree | 0bde0f098da356fa1d2894b77a50ee3cfc6fe5eb /activerecord/lib/active_record/connection_adapters | |
parent | c71df74fb1084c9204233ecb37fe54be243cfdc2 (diff) | |
download | rails-ed5b076ff6b5e187db849728df313876c1e7fa39.tar.gz rails-ed5b076ff6b5e187db849728df313876c1e7fa39.tar.bz2 rails-ed5b076ff6b5e187db849728df313876c1e7fa39.zip |
remove dead code
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 87bb2ef7b7..55533311f5 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -291,13 +291,6 @@ module ActiveRecord end def exec_query(sql, name = nil, binds = []) - #if @prepared_statements && name != 'EXPLAIN' - # unless sql.count('?') == binds.length - # str = "binds.length => #{binds.length} sql.count => #{sql.count('?')}\n" \ - # "#{sql}" - # raise str - # end - #end type_casted_binds = binds.map { |col, val| [col, type_cast(val, col)] } |