I just inherited a Ruby on Rails web site. I don't know anything about this topic (I do VB.NET normally). I'm so confused that I'm about to either throw my laptop out the window or throw myself out the window.... I connected to MySQL Query Browser and added a record using an INSERT command. But then on the web site, I don't see the new record anywhere. And vice versa... I add a record into the web site's CMS program but then I don't see it anywhere in MySQL. I don't know anything about Ruby on Rails apps. Do I need to compile it before seeing changes? or run some sort of deployment utility? Any help would be very helpful... Tom
on 2009-01-09 00:26
on 2009-01-09 00:37
Look in your config/database.yml file to see how your databases are configured. You should be in production mode on your server. I'm guessing you are looking at the wrong db.
on 2009-01-09 00:50
Ben, Thanks for the reply. Do you know how I can toggle to "production mode"? I see 3 databases in the database.yml file (development, test, production). Thanks for your help. Tom