abstract
def primary_auto_incrementable?
#
Returns whether primary field is autoincrementable.
Base class abstract methods.
Returns model's column metadata.
Returns number of model's fields.
Returns array of field names.
Instantiate new object base on given values.
Returns whether primary field is autoincrementable.
Returns model's column metadata.
The metadata is a result of processing attributes passed to .mapping macro.
Instantiate new object base on given values.
after_initialize callbacks are called after an object is initialized.
Contact.new({ "name" => "Jennifer" })
Contact.new({ :name => "Jennifer" })
Contact.new({ name: "Jennifer" })
Contact.new(:name: "Jennifer"})
# only in a case when all Contact's fields are nillable or with default values
Contact.new