Refactoring 與 rake

https://redmine.techbang.com/issues/11591