update rails4.1 and fix migration file

- update rails 4.1
- fix migration file