method
column_defaults
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ModelSchema::ClassMethods
column_defaults()public
Returns a hash where the keys are column names and the values are default values when instantiating the AR object for this table.