All Posts Tagged “rails”
Defined Methods in Rake Tasks; You're Gonna Have a Bad Time
Do you define methods within your Rake Tasks? You might want to reconsider that, or you're gonna have a bad time down the road. Walkthrough an example which illustrates a tricky gotcha and solutions to avoiding it.
Using Airbrake with Rake and not Rails
You can configure Airbrake to notify you of errors that happen in your rake tasks. However, there is a gotcha if you want to do this outside of Rails.