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?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs