Column#primary was removed at Rails4.2
Merge pull request #2073 from tsukasaoishi/for_rails42

Column#primary was removed at Rails4.2