I'm in the final stages of going round trip through the entire Rails cycle: development - test - production (on an external server). I'm very close...but seeing some errors with the production version and don't know enough about Rails' "magic" to troubleshoot it yet...
all seems well and I can load my app by going to www.mydomain.com/rails and it seems to work...I can interact with my app and create new objects in my database. However, when I go to www.mydomain.com/rails/ (difference is the trailing slash) i get a webpage that just says "Index from public" on it?!? I don't know where that's coming from? index.html is long removed from public.
this may or may not be related to why I can't access, say, the first record in one of my classes by calling its controller like so: www.mydomain.com/rails/mycontroller/1 . and yes, there are records in the database.
anyway, something's askew. it works fine on development box. but, only half working on production server. anyone know what might be causing this?
this app is running on the server box (not development)
Installed Passenger on server to serve app via Apache
modified my httpd.conf with Passenger's stuff (headache but finally got it to respond)
loaded schema into the production database: rake db:schema:load RAILS_ENV=production