How to do UPDATE WHERE COLUMN IN (list)


#1

What would be the correct way in AR to do “UPDATE WHERE COLUMN IN
(a,b,c,d)”

Chris


#2

ActiveRecord::update_all

http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M000999