rails generate model NAME [field:type field:type] [options]
Ok. I don't want a migration or a fixture. The help text doesn't tell
me how to do that (it only tells me the default is to create those
things), but some Googling seems to suggest I can prefix --fixture and
--migration with 'no-'. I only want to pretend to run the generator,
and the help text says I should use -p. So here goes, exactly as the
usage string says:
%> rails -v
%> rails g model foo -p --no-migration --no-fixture
566:in `block in process_args': invalid option: -p
minitest/unit.rb:492:in `block in autorun'
It blows up on the -p option. It doesn't even get to my undocumented --
no- options. What's going on?