Add default value for ActiveRecord attributes
-
Updated
Sep 5, 2023 - Ruby
Add default value for ActiveRecord attributes
Prevent ActiveRecord attributes for not null columns with default values from being set to nil.
Add default values to Active Record models.
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."