primary_key=(value) Instance Public methods Sets the name of the primary key
id() Instance Public methods Returns the primary key value.
dangerous_attribute_method?(method_name) Instance Public methods
quoted_primary_key() Instance Public methods Returns a quoted version of the
define_method_attribute(attr_name) Instance Public methods
id=(value) Instance Public methods Sets the primary key value.
primary_key() Instance Public methods Defines the primary key field â can be
id?() Instance Public methods Queries the primary key value.
attribute_method?(attr_name) Instance Protected methods
id_before_type_cast() Instance Public methods Returns the primary key value
Page 1 of 2