wouldn''t it be more efficient to have a generator ask for column names and types and indexes in a prompt? or easier at least. It would be nice to also have ncurses menus for that. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a8330ec7-7342-459c-b615-1934bbaa18f2%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On Wed, Aug 21, 2013 at 4:42 AM, Joe Le Brech <jlebrech-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> wouldn''t it be more efficient to have a generator ask for column names and > types and indexes in a prompt?Sure, but this isn''t Rails bug tracker, please visit https://github.com/rails/rails and recommend it there.> It would be nice to also have ncurses menus for that.No. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAM5XQny3VCJM4F-HEwqnO3%3DrN6wHbYEMg__NnxNxL8ANax9NZg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
I think cakephp does a slightly better job of generators than rails. On Wednesday, August 21, 2013 11:34:14 AM UTC+1, Jordon Bedwell wrote:> > On Wed, Aug 21, 2013 at 4:42 AM, Joe Le Brech <jleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org<javascript:>> > wrote: > > wouldn''t it be more efficient to have a generator ask for column names > and > > types and indexes in a prompt? > > Sure, but this isn''t Rails bug tracker, please visit > https://github.com/rails/rails and recommend it there. > > > It would be nice to also have ncurses menus for that. > > No. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7f2cd457-d1a4-4204-a8bb-9a78ba233840%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On Wednesday, 21 August 2013 05:42:37 UTC-4, Joe Le Brech wrote:> > wouldn''t it be more efficient to have a generator ask for column names and > types and indexes in a prompt? > > or easier at least. > >Generators will *always* need to accept arguments - it''s how (for instance) the resource generator can invoke the model + controller generators. At that point, adding an ncurses interface is just duplicating functionality. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7ab2faa2-5e2a-493d-ad13-f70dccb45048%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.