1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Ryuta Kamizono c83e30da27 Avoid extra scoping when using Relation#update
Since 9ac7dd4, class level `update`, `destroy`, and `delete` were placed
in the `Persistence` module as class methods.

But `Relation#update` without passing ids which was introduced at #11898
is not a class method, and it was caused the extra scoping regression
#33470.

I moved the relation method back into the `Relation` to fix the
regression.

Fixes #33470.
2018-07-31 08:31:46 +09:00
..
active_record Avoid extra scoping when using Relation#update 2018-07-31 08:31:46 +09:00
arel Fix: Arel Postgresql visitor generates invalid SQL for GROUPING SETS. 2018-05-28 12:11:57 +02:00
rails/generators Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
active_record.rb Remove ForeignKeys module which was introduced at #32299 2018-04-02 17:54:26 +09:00
arel.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30