method
column_defaults
v4.1.8 -
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.