Creating a Basic API with Rails using Active Model Serializer (AMS) in less than 5 minutes

Do you know Rails? Active Record? Can you have a Rails Web App up and running real quick but struggle to do a Web API? This article is for you!

Let me introduce you to a tool called Active Model Serializer (AMS):




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Microservice Governance in Focus: What’s EDAS?

API’s, music in my ears

APPlying to Explore

Enough Keywords to Complete Tests Beautifully with RSpec

What is DevOps and CI/CD Pipeline?


Lesser known things about Google’s S2

Introducing the Neo4j Database Analyzer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gilbert Torchon

Gilbert Torchon

More from Medium

Let’s Start Rebuilding rails

Building a Ruby CLI app

💎Rails File Structure Overview 💎

Autocomplete a form based on a user’s phone number with Rails, Stimulus, and HTML5

Demo of finished product