Attributes
default_values | [R] |
The default values to use for this model. A hash with column symbol keys and default values. If the default values respond to |
Public Instance methods
cache_default_values?()
Whether default values should be cached in the values hash after being retrieved.
[show source]
# File lib/sequel/plugins/defaults_setter.rb 82 def cache_default_values? 83 @cache_default_values 84 end
freeze()
Freeze default values when freezing model class
[show source]
# File lib/sequel/plugins/defaults_setter.rb 87 def freeze 88 @default_values.freeze 89 super 90 end