diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-05 03:34:56 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-05 03:34:56 +0000 |
commit | d6785e967433470cfe5eba72a72f6f01682282c0 (patch) | |
tree | 956403ddc3bf1c986042f81031548f4bd42b7e23 /railties/lib/rails_generator | |
parent | 6204a52facf97ac741f61decf773c01494245f02 (diff) | |
download | rails-d6785e967433470cfe5eba72a72f6f01682282c0.tar.gz rails-d6785e967433470cfe5eba72a72f6f01682282c0.tar.bz2 rails-d6785e967433470cfe5eba72a72f6f01682282c0.zip |
Fix indentation in model generator migration template. Closes #8577 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/generators/components/model/templates/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/model/templates/migration.rb b/railties/lib/rails_generator/generators/components/model/templates/migration.rb index b42aa81262..c942cccdbf 100644 --- a/railties/lib/rails_generator/generators/components/model/templates/migration.rb +++ b/railties/lib/rails_generator/generators/components/model/templates/migration.rb @@ -4,7 +4,7 @@ class <%= migration_name %> < ActiveRecord::Migration <% for attribute in attributes -%> t.<%= attribute.type %> :<%= attribute.name %> <% end -%> - t.timestamps + t.timestamps end end |