Rails3でのバッチ実行 ref: http://qiita.com/niwaken@github/items/2245cb3e5a07ae1cdb2f