Primary key « ActiveRecord « Ruby






1.if your primary key column is not named simply id, you can override this from within the class definition