mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7dbe62006d
If a relation has binds, `connection.to_sql(relation)` without binds will generate invalid SQL. It should use `relation.to_sql` in that case. |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |