Add default values to Active Record models.
-
Updated
Jun 2, 2015 - Ruby
Add default values to Active Record models.
Prevent ActiveRecord attributes for not null columns with default values from being set to nil.
Add default value for ActiveRecord attributes
Add a description, image, and links to the default-value topic page so that developers can more easily learn about it.
To associate your repository with the default-value topic, visit your repo's landing page and select "manage topics."