active_model_serializers/lib
Moritz Lawitschka afe786d19a Properly deserialize dasherized keys
The JSON API adapater dasherizes every key, but the deserializer left the keys
unaltered. Thus, the client had to send underscored keys in the request body in
order for Rails to properly match sent values to model attributes.

This commit adds automatic key transformation on deserialization. Per default the
deserializer transforms the keys to underscore, but this behaviour can also be
changed by including `key_transform` in the deserializer options.
2016-03-29 22:46:01 +02:00
..
action_controller SerializableResource handles no serializer like controller 2016-03-28 20:04:45 -05:00
active_model Handle render.ams with nil serializer or adapter 2016-03-28 21:33:23 -05:00
active_model_serializers Properly deserialize dasherized keys 2016-03-29 22:46:01 +02:00
generators/rails Only load generators when needed 2016-01-15 01:52:27 -06:00
grape Grape formatter feature requested in #1258 2015-12-10 10:06:40 +00:00
active_model_serializers.rb Move serializer caching from adapter 2016-03-13 19:57:59 -05:00