Get rails class caching working. Upgrade rails, ruby, use unicorn on heroku.