method

create_record

create_record(attribute_names = @attributes.keys)
private

Creates a record with values matching those of the instance attributes and returns its id.