
ActiveModel::Serializer::type now accepts a block #1399
Dec 28, 2015 · A block passed to the type method will be instance_eval'd to the serializer. This allows us to avoid overriding the …
add documentation for the type setting on the json api ... - GitHub
add documentation for the type setting on the json api adapters#1299
customize activemodel serializers error codes · Issue #1744 - GitHub
May 21, 2016 · rails-api / active_model_serializers Public customize activemodel serializers error codes #1744 Closed Closed #1744 …
Changing cache key not working · Issue #2031 · rails-api ... - GitHub
Expected behavior vs actual behavior Changing a serializer-level cache key with the key option does not change the cache key. …
Re-add Serializer#schema · Issue #1430 · rails-api/active ... - GitHub
Was a nice feature in 0.8.x that could be useful with #1162 and #1270 # Return a schema hash for the current serializer. This …
Supporting serializing ruby objects · Issue #2042 · rails ... - GitHub
Steps to reproduce You can paste the code in the documentation into irb.
filter method not triggered · Issue #516 · rails-api/active_model ...
linesarefuzzy Jul 14, 2015 Why is the filter feature not in the master Readme? It is described in branch 0-9-stable, but it works in my …
JSON:API adapter rendering undesired resource relationship ... - GitHub
to define relationships to conditionally serialize without having a conditional anywhere, either via polymorphic in the serializer you use …
Override root when using JSON adapter is possible #1486
The documentation for the JSON adapter say: The root key can't be overridden, and will be derived from the resource being …
[0.10.0rc1] JSON key renaming for existing model attributes
I have a model with attributes id and slug. I'm rendering my slug model attribute into something in my JSON: attribute :slug, key: …