Crushing It With Rake Tasks

Crushing It With RakeĀ Tasks

Although bundle exec rake db:migrate is probably the single biggest killer feature in Rails, there is a lot more to rake.

Rails offers several rake tasks to help with everyday project management, like redoing a migration because you changed your mind on one of the columns, clearing your log files because they get so big, and listing out the TODOs and FIXMEs.

What's even more awesome that all that is that you can create your own rake tasks. Got a tedious command-line process? Write a rake task for it!

3a1f18e5445bd821f290ed68c1f2d925?s=128

Barrett Clark

May 06, 2016
Tweet