Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql_for_insert returns values for passing to exec_insert #23067

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Jan 15, 2016

No description provided.

@rails-bot
Copy link

r? @arthurnn

(@rails-bot has picked a reviewer for you, use r? to override)

@kamipo
Copy link
Member Author

kamipo commented Jan 15, 2016

r? @rafaelfranca

@rails-bot rails-bot assigned rafaelfranca and unassigned arthurnn Jan 15, 2016
rafaelfranca added a commit that referenced this pull request Jan 16, 2016
…or_passing_to_exec_insert

`sql_for_insert` returns values for passing to `exec_insert`
@rafaelfranca rafaelfranca merged commit efe346f into rails:master Jan 16, 2016
@kamipo kamipo deleted the sql_for_insert_returns_values_for_passing_to_exec_insert branch January 16, 2016 05:45
kamipo added a commit to kamipo/rails that referenced this pull request Aug 19, 2016
This reverts rails#23067. rails#23067 is for propagating `pk` value from
`sql_for_insert` to `exec_insert` (avoiding extra query for pg adapter).
Now `exec_insert` includes `sql_for_insert` since rails#26002 therefore this
propagating is no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants