diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-07-03 23:29:41 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-06 14:13:44 +0900 |
commit | 2ed25b31d423384219c7fa6d55e82d5327c14157 (patch) | |
tree | a5987da91d1eb7af9c0be5d4f7c1aae4357e77cf /activerecord/lib/active_record/relation/delegation.rb | |
parent | d59dc69f847bff13bb85a571c8cf1512cd067d92 (diff) | |
download | rails-2ed25b31d423384219c7fa6d55e82d5327c14157.tar.gz rails-2ed25b31d423384219c7fa6d55e82d5327c14157.tar.bz2 rails-2ed25b31d423384219c7fa6d55e82d5327c14157.zip |
`sql_for_insert` should be called inside `exec_insert`
`exec_insert` cannot return last inserted id if `use_insert_returning?`
is true. `sql_for_insert` should be called inside `exec_insert`.
Diffstat (limited to 'activerecord/lib/active_record/relation/delegation.rb')
0 files changed, 0 insertions, 0 deletions