Posts List

Etsy Deployinator Environments

Etsy open-sourced their deployment tool a while back, but I didn’t learn about it until more recently. It is called Deployinator and runs on Ruby. I’m looking at using it for a project at work, but I ran into a horrible lack of documentation. The one example that is in the repo isn’t bad, it just doesn’t show you how to have multiple deploy buttons. In the case I may use it in, I will need multiple.

Ruby on Rails Exceptions

Services Statuses Events An event references both a service and a status. I needed to be able to ensure a status being deleted wasn’t referenced by any events. The callback and the database query were easy, but I was having issues when it came to showing an error as to why the status wasn’t deleted. After a bit of Googling I found that exceptions seems to be the best way to do this.