Erik Minkel
  • Home

json

Simple Rails 4 API with jbuilder

I'm working on a web application that requires a few API endpoints for AJAX calls. I've recently discovered the jbuilder gem that is included when creating a Rails application (I had no clue of it before my search on returning structured JSON.). I wanted a route structure similar to the
Erik Minkel Jan 15, 2016
Erik Minkel © 2025. Powered by Ghost