RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Need to Version Your API?

Quit polluting your routes file with version namespaces or complicating your logic with separate controllers. Version Cake 1.2 is the unobtrusive way to version APIs in your Rails app. Works great with Jbuilder and RABL. Now with Rails 4 support.

app/views/posts/
- index.v1.json.jbuilder
- index.v2.json.jbuilder

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!