method

column_defaults

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.