[Rails4.0] DEPRECATION WARNING への対応 ref: http://qiita.com/kidachi_/items/d8fc79863562533789bc