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

Research two family hour role.

Introduction to AWS RedShift — 2: No Indexes

How to Hash in Python

C Static Libraries

Deploy Django applications in Heroku

Create a branch from unstaged/uncommitted changes on master

Activiti Overview

Undo Git Reset Hard

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

Debugging Deadlocks (in Ruby on Rails)

Cocoon gem not working? Check for these mistakes

Hunting down spooky JSON module redefinition via Oj

How to Access Deeply Nested Associations in Ruby on Rails using ActiveRecord and Serializers