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
Dylan Thacker-Smith de7ca90538 Avoid scoping update transaction when calling update! on a relation
This makes scoping consistent with ActiveRecord::Relation#update.
ActiveRecord::Relation#update was defined specifically to avoid this
unexpected scoping in Active Record callbacks triggered from the update
which otherwise get introduced by ActiveRecord::Relation#method_missing.
2021-09-09 12:09:03 -04:00
..
and_test.rb Address FixturesWithForeignKeyViolationsTest#test_does_not_raise_if_no_fk_violations error 2021-08-29 10:57:30 +09:00
delegation_test.rb Add ActiveRecord::Relation#structurally_compatible?. 2021-08-02 16:10:40 -04:00
delete_all_test.rb Revert "Merge pull request #40445 from robertomiranda/destroy_all-in_batcches" 2021-07-12 13:15:13 -04:00
field_ordered_values_test.rb Add ActiveRecord::QueryMethods#in_order_of. 2021-08-02 16:11:36 -04:00
load_async_test.rb Report async queries lock wait duration 2021-06-25 13:59:47 +02:00
merging_test.rb Mysql adapters: improve security of untyped bound values 2021-06-16 10:04:34 +02:00
mutation_test.rb
or_test.rb Added test for or query error message 2021-05-29 11:52:24 -03:00
predicate_builder_test.rb
record_fetch_warning_test.rb Make warn_on_records_fetched_greater_than a module instance variable 2021-06-10 18:24:38 +02:00
select_test.rb Enhancement: refactor and add tests to the query methods argument errors 2021-05-23 15:16:09 -03:00
structural_compatibility_test.rb Add ActiveRecord::Relation#structurally_compatible?. 2021-08-02 16:10:40 -04:00
update_all_test.rb Avoid scoping update transaction when calling update! on a relation 2021-09-09 12:09:03 -04:00
where_chain_test.rb Address FixturesWithForeignKeyViolationsTest#test_does_not_raise_if_no_fk_violations error 2021-08-29 10:57:30 +09:00
where_clause_test.rb Implement hash equality for WhereClause 2021-03-15 17:54:03 -07:00
where_test.rb Expose an invert_where method that will invert all scope conditions. 2020-12-18 16:00:20 -05:00