Permalink
Browse files

Dont generate migration when doing scaffolding

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 2d491bd commit 84b8920a11985a771e6dbddbf5ed4e3852a2e790 @dhh dhh committed Mar 5, 2006
View
2 railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb
@@ -73,7 +73,7 @@ def manifest
m.directory File.join('test/functional', controller_class_path)
# Depend on model generator but skip if the model exists.
- m.dependency 'model', [singular_name], :collision => :skip
+ m.dependency 'model', [singular_name], :collision => :skip, :skip_migration => true
# Scaffolded forms.
m.complex_template "form.rhtml",

0 comments on commit 84b8920

Please sign in to comment.