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

**URL:** <https://www.ruby-forum.com/t/newbie-how-come-i-dont-see-new-database-records/157264>\
**Category:** Rails\
**Created:** [January 9, 2009, 12:26am UTC](https://www.ruby-forum.com/t/newbie-how-come-i-dont-see-new-database-records/157264 "2009-01-09T00:26:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@tomn](https://www.ruby-forum.com/u/tomn)\
**Post date:** [January 9, 2009, 12:26am UTC](https://www.ruby-forum.com/t/newbie-how-come-i-dont-see-new-database-records/157264/1 "2009-01-09T00:26:48Z")

</div>

I just inherited a Ruby on Rails web site. I don’t know anything about  
this topic (I do [VB.NET](http://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

---

<div class="post-metadata">

**Author:** ![tomn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@tomn](https://www.ruby-forum.com/u/tomn)\
**Post date:** [January 9, 2009, 12:37am UTC](https://www.ruby-forum.com/t/newbie-how-come-i-dont-see-new-database-records/157264/2 "2009-01-09T00:37:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tomn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@tomn](https://www.ruby-forum.com/u/tomn)\
**Post date:** [January 9, 2009, 12:50am UTC](https://www.ruby-forum.com/t/newbie-how-come-i-dont-see-new-database-records/157264/3 "2009-01-09T00:50:03Z")

</div>

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
