aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railties/databases.rake
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-07-03 23:29:41 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-06 14:13:44 +0900
commit2ed25b31d423384219c7fa6d55e82d5327c14157 (patch)
treea5987da91d1eb7af9c0be5d4f7c1aae4357e77cf /activerecord/lib/active_record/railties/databases.rake
parentd59dc69f847bff13bb85a571c8cf1512cd067d92 (diff)
downloadrails-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/railties/databases.rake')
0 files changed, 0 insertions, 0 deletions