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/cases/relation
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
..
delegation_test.rb Delegate only query method to relation as with except 2019-03-07 19:11:43 +09:00
delete_all_test.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
merging_test.rb Add Relation#annotate for SQL commenting 2019-03-21 20:30:56 -07:00
mutation_test.rb Fix order with custom attributes 2019-02-17 02:44:37 +09:00
or_test.rb All of queries should return correct result even if including large number 2019-01-18 16:01:07 +09:00
predicate_builder_test.rb
record_fetch_warning_test.rb
select_test.rb Fixed reselect throwing NoMethodError on ActiveRecord. 2019-03-03 22:25:10 +05:30
update_all_test.rb Revert unused code and re-using query annotation for update_all and delete_all 2019-04-01 15:04:11 +09:00
where_chain_test.rb
where_clause_test.rb Arel: Implemented DB-aware NULL-safe comparison (#34451) 2018-11-15 14:49:55 -05:00
where_test.rb Remove duplicated protected params definitions 2019-02-24 19:50:53 +09:00