Rails4 migration

Working rails 4 update
It was deployed to staging and looked OK