diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-13 10:55:29 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-13 10:55:29 +0900 |
commit | 7dbe62006da2576770babe92234467574834f305 (patch) | |
tree | 4e489764d30c02f19194348aa861635c3492a545 /rails.gemspec | |
parent | 42a80721938453a2ecbba204ce21a0d496756178 (diff) | |
download | rails-7dbe62006da2576770babe92234467574834f305.tar.gz rails-7dbe62006da2576770babe92234467574834f305.tar.bz2 rails-7dbe62006da2576770babe92234467574834f305.zip |
Fix `create_table` with query from relation
If a relation has binds, `connection.to_sql(relation)` without binds
will generate invalid SQL. It should use `relation.to_sql` in that case.
Diffstat (limited to 'rails.gemspec')
0 files changed, 0 insertions, 0 deletions