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.