On Jun 20, 2014, at 12:31 PM, Jaimin Pandya wrote: > On 20 June 2014 17:17, Jaimin Pandya <[email protected]> wrote: > >> I presume you have worked through Heroku's guide [1]? If not then do >> so. Also work right through a good tutorial such as >> railstutorial.org, which is free to use online, and includes setup on >> Heroku I believe. >> >> [1] https://devcenter.heroku.com/articles/getting-started-with-rails4 > > Thank you for your advise.I will read good tutorial link. > > I have **sqlite** gem in development group and **pg** gem in production > group. > > Could I use in this way?
Yes, but that's not enough. As Colin pointed out, you still are using the sqlite3 adapter in your database.yml file. You have to change that to pg as well, the gems and config have to match. Walter > > Kind regards > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/8d2cf141f63dc24db6d4365c81dcf818%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/271F1B72-45D9-44FA-97BD-0D6470AA68D8%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.

