Removed this line
config.action_controller.perform_caching = false
from production.rb, in an attempt to make the production app work, as suggested at
http://stackoverflow.com/questions/7445917/rails-3-1-0-undefined-method-page-cache-extension-for-actioncontrollerbase
Added password to database.yml