1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Ryuta Kamizono 6e43a207c6 Revert unused code and re-using query annotation for update_all and delete_all
This partly reverts #35617.

#35617 includes unused code (for `InsertStatement`) and re-using query
annotation for `update_all` and `delete_all`, which has not been
discussed yet.

If a relation has any annotation, I think it is mostly for SELECT query,
so re-using annotation by default is not always desired behavior for me.

We should discuss about desired behavior before publishing the
implementation.
2019-04-01 15:04:11 +09:00
..
active_record/connection_adapters
assets
cases Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
fixtures
migrations
models Add Relation#annotate for SQL commenting 2019-03-21 20:30:56 -07:00
schema Add insert_all to ActiveRecord models (#35077) 2019-03-05 11:16:44 -08:00
support Remove duplicated protected params definitions 2019-02-24 19:50:53 +09:00
config.example.yml Respect ENV variables when finding DBs etc for the test suite 2019-02-06 01:20:06 +10:30
config.rb