id=(value)
Sets the primary key column’s value.
# File activerecord/lib/active_record/attribute_methods/primary_key.rb, line 23 def id=(value) _write_attribute(@primary_key, value) end