Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Ruby
set default value for rails attribute
Evene
Programming language:
Ruby
2021-03-07 06:37:27
0
Q:
set default value for rails attribute
xQbert
Code:
Ruby
2021-08-20 06:53:34
.... add_column :status, :string, :default => "P" ....
0
Tags
value
set
attribute
Related
rails update without validation
default value rails migration
how to differentiate get and post when it has same name in rails
change column rails example
rails hidden field default value
ruby on rails set environment variables example
New to Communities?
Join the community