diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-08-19 00:57:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 00:57:36 -0300 |
commit | b27acd0b69a093e1d9d91ddf52c9f6e1289e28e0 (patch) | |
tree | 07c653d815a36cbc91d79e213f29d2bf0c1117d5 /activerecord/lib | |
parent | 3760efe00dccfabea36d3d7d244a26a2d8f16eb5 (diff) | |
parent | 7db6bd7a23760f41c3a8a5dcd5b1b20737d90ede (diff) | |
download | rails-b27acd0b69a093e1d9d91ddf52c9f6e1289e28e0.tar.gz rails-b27acd0b69a093e1d9d91ddf52c9f6e1289e28e0.tar.bz2 rails-b27acd0b69a093e1d9d91ddf52c9f6e1289e28e0.zip |
Merge pull request #26217 from kamipo/revert_23067
Revert "`sql_for_insert` returns values for passing to `exec_insert`"
Diffstat (limited to 'activerecord/lib')
-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 126047584e..def1dadb6a 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -379,7 +379,7 @@ module ActiveRecord end def sql_for_insert(sql, pk, id_value, sequence_name, binds) - [sql, binds, pk, sequence_name] + [sql, binds] end def last_inserted_id(result) |