Forum: Ruby on Rails NEWBIE: How come I don't see new database records?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8b176bb36d738fa8651c960f1c195f66?d=identicon&s=25 Tom Nen (actranet)
on 2009-01-09 00:26
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
Da238874c828de5eb3b9651874b75878?d=identicon&s=25 Ben (Guest)
on 2009-01-09 00:37
(Received via mailing list)
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.
8b176bb36d738fa8651c960f1c195f66?d=identicon&s=25 Tom Nen (actranet)
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
This topic is locked and can not be replied to.