migrate to a rails 4 version of the application