ActiveRecord::ModelSchema::ClassMethods
module ActiveRecord::ModelSchema::ClassMethods
Public Instance Methods
Returns a hash where the keys are column names and the values are default values when instantiating the AR object for this table.
# File activerecord/lib/active_record/model_schema.rb, line 249 def column_defaults _default_attributes.dup.to_hash end