mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Make explicit that references and belongs_to types have nil as default value.
This commit is contained in:
@@ -30,6 +30,7 @@ module Rails
|
||||
when :string then "MyString"
|
||||
when :text then "MyText"
|
||||
when :boolean then false
|
||||
when :references, :belongs_to then nil
|
||||
else
|
||||
""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user