migration to rails 4.2 && survey improvement