Side effects of Active Record's invert_where in Rails 7
23-Sep-2021 1556
Rails 7 is introducing a new method invert_where that will invert all scope conditions. It allows us to invert an entire where clause instead of manually applying conditions.We can either chain invert_where to a scope or to a where condition.
Side effects of Active Record's invert_where in Rails 7 #ruby #rubydeveloper #rubyonrails #effects #Active #Record's #invert_where #Rails #active #record's https://rubyonrails.ba/link/side-effects-of-active-record-s-invert_where-in-rails-7