No commit activity in last 3 years
No release in over 3 years
Render your JSON in a Normalizr-like JSON format
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.4
~> 1.3

Runtime

 Project Readme

Active Model Normalizr

Normalizr-like serialization for Active Model Serializers.

Active Model Normalizr provides a custom adapter for Active Model Serializers. So you can write your serializers like you always have and the output will be in a normalizr-like format that's easy to use with Redux or Flux.

Installation

Add it to your Gemfile

gem 'active_model_normalizr'

In a Rails initializer or somewhere similar:

ActiveModelSerializers.config.adapter = ActiveModelSerializers::Adapter::Normalizr

Supported Dependency Versions

  • active_model_serializers ~> 0.10