Returns the primary key value
# File lib/active_record/attribute_methods/primary_key.rb, line 13 13: def id 14: read_attribute(self.class.primary_key) 15: end
Sets the primary key value
# File lib/active_record/attribute_methods/primary_key.rb, line 18 18: def id=(value) 19: write_attribute(self.class.primary_key, value) 20: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.