Versioning of Views; Our Approach

I don’t think this is a feature for rails.

There is not only jbuilder. Take a look, for example, at ActiveModel Serializers : https://github.com/josevalim/active_model_serializers

Which is, in my opinion, better than jbuilder, and where you don’t have views for your json at all.

Also, in an API, versioning the rendering is not enough. You need to be able to version features if necessary.

There are several existing solutions for this already, a bit different from yours. For example, biceps, which allows routing different versions differently. https://github.com/lyonrb/biceps

Damien MATHIEU | Ingénieur logiciel

84, rue Chevreul | 69 007 Lyon

Tel. : +33 (0)6 88 42 00 15 | http://dmathieu.com