diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/generators/generated_attribute.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/generators/generated_attribute.rb b/railties/lib/generators/generated_attribute.rb index 35dac99dbe..e962308585 100644 --- a/railties/lib/generators/generated_attribute.rb +++ b/railties/lib/generators/generated_attribute.rb @@ -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 |