Make explicit that references and belongs_to types have nil as default value.

This commit is contained in:
José Valim
2009-07-13 16:18:56 +02:00
parent ae7a7852d5
commit 21019304f0

View File

@@ -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