NEWBIE: How come I don't see new database records?

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

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.

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs