At first glance what seem to have happen is that you are developing and
then trying to see the results in a production environment
but didnt know that rake task run in development environment by default, so,
when you ran rake db:migrate in the "production server"
you were expecting to migrate the production database but it didnt since you
did not specified the environment with RAILS_ENV="production", so rails
which is running in production mode in the apache has no production
database, you are seen result in the console when you migrate but all that
is happening to the development database . Confirm this by accessing mysql
and typing show databases, the production db should be missing.  To fix this
run rake db:migrate specifying the environment.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to