RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Version your Rails views (show.v1.json.jbuilder, show.v2.json.jbuilder, ..)

Easily version your Rails views with VersionCake (e.g. edit.v1.html.erb, edit.v2.html.erb, ..). If a view for the current version doesn't exist, VersionCake automatically degrades to the previous view version. A specific render version can be passed via the request header or query param. Perfect for API/jbuilder views. Can also be applied to any other view type (html erb/haml, etc).

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!