cleaning up errors from rails 4 migration