method

update_column

update_column(name, value)
public

Equivalent to update_columns(name => value).

1Note

Use `update_all` for Updating the Same Column for Multiple Records.

joshuapinter ยท Nov 9, 2013

http://apidock.com/rails/ActiveRecord/Relation/update_all

Client.where( country: 'Canada' ).update_all( country_code: 'CA' )