Instead of using each/find_each, try using update
method instead:
models.update(column: value)
Which is just a wrapper for the following:
models.each{|x| x.update(column: value)}
Instead of using each/find_each, try using update
method instead:
models.update(column: value)
Which is just a wrapper for the following:
models.each{|x| x.update(column: value)}