I think you just need to create Toy model and then use scaffold controller http://stackoverflow.com/questions/4333393/using-rails-generate-scaffold-when-model-already-exists
On Mon, Jun 1, 2015 at 7:06 AM, kenatsun <kenat...@gmail.com> wrote: > > My next question is whether it is possible to sue the amazing Rails > generators - in particular, scaffold - to more quickly create an app that > works with an existing database - so it would not be necessary to go thru > all those manual steps shown above. I tried it once, and it tried to run > the migrator and croaked when it found that the DB table was already > there. But that may have been pilot error on my part. Comments and advice > would be welcome. > > ~ Ken > > > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/4a506cc5-5bf7-4f46-9628-b4dc6e7555b2%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/4a506cc5-5bf7-4f46-9628-b4dc6e7555b2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Mou Dareka no, tame janakutte Jibun no Tame ni Warette Iru ( Aqua Timez - Alones ) -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANryp8kCTcsTGhPaqtZ1PpmVsSqaW%2BQY18JA2qwnkG%3DnharJbg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.