Ha, well that makes the choice easy then, then :required is probably the way to go.
> On 29 Aug 2019, at 17:17, James Coleman <jtc...@gmail.com> wrote: > > An asterisk is actually going to be very painful to use, because your > shell is going to treat it as a shell expansion by default rather than > passing it along to Rails. > > On Thu, Aug 29, 2019 at 11:13 AM Emile Bosch <em...@54hrs.com> wrote: >> >> 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 >> >>> On 29 Aug 2019, at 17:07, Hamad Al-Ghanim <dreamerso...@gmail.com> wrote: >>> >>> I would rather have it look like the following >>> >>> Rails g model contact name:string:required age:int:required >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Ruby on Rails: Core" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/rubyonrails-core/PUGFir_OJ30/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> rubyonrails-core+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/rubyonrails-core/bf680441-891b-4494-aa64-c5d8b518de34%40googlegroups.com. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-core+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-core/AEB61F46-2823-4425-A4D3-480C90CCEAA4%4054hrs.com. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ruby on Rails: Core" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-core/PUGFir_OJ30/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > rubyonrails-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-core/CAAaqYe9CYwKN9PE4tV-%2BySbNrddYK7Wu2ZZmJUYkdCSd%3D6CVoA%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-core/FC38FEED-7C54-419D-BDEC-6F87A97B530F%4054hrs.com.