「undefined method `sweep'」エラー ref: http://qiita.com/items/33d10af651385a386d44