On Sun, May 31, 2015 at 5:06 PM, kenatsun <kenat...@gmail.com> wrote:
> 10. An odd note is that there still is no schema.rb file in x/db/. If this > is what Rails uses as its "database catalog", is the lack of it going to > cause trouble down the road? Possibly, but you can use `rake db:schema:dump` to generate it from your existing DB. > 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 I've never seen a scaffold command automatically run migrations; can you be more specific about what led up to that? You should be able to scaffold a model and then just delete the migration file. -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan Consulting Availability : Silicon Valley or remote -- 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/CACmC4yB3HzwfoNTa1giBAjOp5uujoApY7DBwUhVNB8gG%3DdZgmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.