All Posts By “Mark Campbell“
● @nitrodist ● web ● github ●
The pytest library for Python is a modern and capable testing framework for Python and we've come up with some good patterns to use with regards to database transactions.
Rack middleware is a powerful pattern to follow, however, there are some 'gotchas'
that you need to keep in mind when developing new middleware. This post explains
how you should be using Rack's
Ever get a feeling of dread while working on a long problem? That feeling is cancerous towards your work, your relationships at work and your well being. I've personally experienced it many times during my short career -- it's not a fun experience and that's why I would like to write about it. Work doesn't have be like that. You can stop the cycle and feel way better about yourself!
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.