Extending Vault CLI with some Ruby love

Extending Vault CLI with some Ruby love

At playpass we use jenkins for managing our servers. We had a simple system for secret management called json files. These files were never committed to our git repo and shared between the people that needed them. I think it's obvious that this process is quite error prone. If one person changes the secrets but forget to share his changes read more »

Rails configuration madness

Rails configuration madness

General configuration is always needed in an application. Sometimes this can range from "On what domain I'm I running?" to "Where is that other service located?". Providing a Rails application with configuration during boot can be quite confusing so let's go over our options. Rails config.x blackhole Guess what our favorite framework has support to save configuration in a read more »

Tuxedo: 150 LOC Presenter Logic

Tuxedo: 150 LOC Presenter Logic

TL;DR Tuxedo a gem that implements Decorator/Presenter pattern in 150 LOC. Presenters, Decorators, view helpers,... all names that try to do the same thing. Keep logic out of your views where it's difficult to test and promote reuse of helpers. The earliest mention of Presenter came from Jay Fields in a blog post titled: Rails: Presenter Pattern created read more »

API Design with API Blueprint and Aglio

API Design with API Blueprint and Aglio

Designing an API can be quite difficult depending on the size and the relations between your models. In Rails it's easy to create an API, open controller, add format.json ... and your done. This is not really a good way but it will work perfectly. In the past I've always created API's for internal use or consumed external API's. Last read more »