migrating to rails 328