method

primary_key

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActiveRecord::Base
primary_key() public

Defines the primary key field — can be overridden in subclasses. Overwriting will negate any effect of the primary_key_prefix_type setting, though.

Show source
Register or log in to add new notes.