Looking for ruby-on-rails Answers? Try Ask4KnowledgeBase
Looking for ruby-on-rails Keywords? Try Ask4Keywords

Ruby on RailsActive Model Serializers


Introduction

ActiveModelSerializers, or AMS for short, bring 'convention over configuration' to your JSON generation. ActiveModelSerializers work through two components: serializers and adapters. Serializers describe which attributes and relationships should be serialized. Adapters describe how attributes and relationships should be serialized.