Moved app to Rails 3.1.12