src code

class method ActiveRecord.Model.updateAll

ActiveRecord.Model.updateAll(updates[,conditions]) → null
  • updates (Object | String) A string of updates to make, or a Hash of column value pairs.
  • conditions (String): Optional where condition, or Hash of column name, value pairs.