beginning migration to rails 4