method

update_record

update_record(attribute_names = @attributes.keys)
private

Updates the associated record with values matching those of the instance attributes. Returns the number of affected rows.