method
column_defaults
rails 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 Active Record object for this table.