Hi there,

Like numerous times I am generating models, I go in to make fields required 
and validates_presence_of them.
Would it be easy if we could just say:

~~
rails g model contact *name *email:string *age:int
~~

Simple but super easy to add and makes it all a bit more dry.

Let me know what ya'll think and then I'll add it to rails <3

-- 
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/f366109c-2326-49b0-b82a-e2712b7668a7%40googlegroups.com.

Reply via email to