Decouple your APIs from their implementation
A common pattern seen across Rails applications is the following update action in controllers Convention over configuration is a very powerful way of getting developers up the curve quickly. However, it can lead to a certain amount of automatic programming which obscures the possibility of creating beautiful APIs with our…