Feb 28, 2013

I really like the approach presented here: it adds a bit of DCI goodness to Rails. This is extremely helpful for any operation that goes beyond the simple CRUD tools offered by default rails. It can handle validations, complex transactions, complex object graphs, permission checks, etc.

I’d like to present the marrying of a few techniques that have transformed the way we write Rails apps at UserVoice, and the gem we extracted from it. But first, let me explain why we started looking into techniques that veered off the Omakase version of Rails. Problems We had three specific prob…

Link: Introducing Mutations: Putting SOA on Rails for security and maintainability – UserVoice Developer via developer.uservoice.com