Skip to content

codenoble/active_model_normalizr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An ActiveModelSerializers adapter for Normalizr-like JSON

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages