Answers for "rails validates default value"

0

set default value for rails attribute

....
add_column :status, :string, :default => "P"
....
Posted by: Guest on October-08-2020

Browse Popular Code Answers by Language