Stop defining method in rake task