Type:
Module
primary_key=
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey/ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

primary_key=(value) Instance Public methods Sets the name of the primary key

2025-01-10 15:47:30
id
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey

id() Instance Public methods Returns the primary key value.

2025-01-10 15:47:30
dangerous_attribute_method?
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey/ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

dangerous_attribute_method?(method_name) Instance Public methods

2025-01-10 15:47:30
quoted_primary_key
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey/ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

quoted_primary_key() Instance Public methods Returns a quoted version of the

2025-01-10 15:47:30
define_method_attribute
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey/ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

define_method_attribute(attr_name) Instance Public methods

2025-01-10 15:47:30
id=
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey

id=(value) Instance Public methods Sets the primary key value.

2025-01-10 15:47:30
primary_key
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey/ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods

primary_key() Instance Public methods Defines the primary key field â can be

2025-01-10 15:47:30
id?
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey

id?() Instance Public methods Queries the primary key value.

2025-01-10 15:47:30
attribute_method?
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey

attribute_method?(attr_name) Instance Protected methods

2025-01-10 15:47:30
id_before_type_cast
  • References/Ruby on Rails/Rails/Classes/ActiveRecord/ActiveRecord::AttributeMethods/ActiveRecord::AttributeMethods::PrimaryKey

id_before_type_cast() Instance Public methods Returns the primary key value

2025-01-10 15:47:30