Migrated app to Rails version 4.1.6