Re: Rails generator model with optional validations and required?
Thanks for your participation!
Hmm, maybe. However I am afraid this might get a bit cumbersome when writing more then 4 fields. The word required in this sample is
the longest word of this command. Maybe req? Are there any other generators out there that tackle this problem?
Also an * (asterisk) is universal hint that something is required