[Migration] migrate to rails 3.2