views:

98

answers:

1

One of the things that bothers me in Rails is that scaffolding generates migrations that I don't always need.

Is there a way to generate the scaffold without the corresponding migration?

+3  A: 

Use the --skip-migration parameter. For example:

script/generate scaffold post title:string body:text --skip-migration
Tim Sullivan
Great ! Thanks.
eggdrop