Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

Rake Tasks

This is a rake task file…
1
2
3
task :load_errors => :environment do
  AirbrakeError.import_from_airbrake
end

In heroku I would run this:

This is a rake task file…
1
2
3
 heroku run rake load_errors
# NOT
 heroku run rake task bandaid

Comments