I have started a rails application I call 'timecard' using postgresql
as it's back-end.
(rails 3.0.7 on a Suse Linux machine)
I edited the database.yml file to point to the dev prod and test
databases with proper user and password.
I created the basic tables, models etc. using 'rails generate
controller' and 'rails generate scaffold' and 'rake db:migrate' and
everything seems ok.
I started the rails server and pointed firefox at the proper url's and
everything is a go.
Here is where it gets wierd. I just added 4 more records (using the
rails page with Firefox) to a table I originalled added 2 records to
last week. All the records show when I navigate to the proper url.
But when I directly access the table using the postgresql utility
'psql' only the 2 records I added last week are listed! I wanted to
get the key id values of the records, which doesn't show on the
generic rails page, but the records aren't there!
Is some kind of caching going on? I exited Firefox but that didn't
force the records into the table, so what am I seeing in the rails
page, and where is my data?
Thanks in advance for any help. --Fred