Generator simple question: How to specify parameter?

I wonder if I have did something fishy here (probably I did...) when I type:

script/generate scaffold model --skip_migration

It saids: invalid option: --skip_migration

Perhaps some syntax I don't know on how to specify parameters for a generator?

Try --skip-migration, i.e., use a hyphen instead of an underscore.

In case you didn't know, you can run script/generate w/o arguments to see what generators are installed, and you can run it with a generator name, e.g., scaffold, to see what you can do with that generator.

Regards, Craig