Dont generate migration when doing scaffolding

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 2d491bdd
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册