active_model_serializers/test/unit/active_model
Jason Truluck a110df6caf Add @options back into serializers to maintain the functionality of render :json as noted in the docs
This functionality used to exist in v0.8.1. This adds the ability to
pass other options that will be usable in the serializer via the
options accessor.

This works by adding an attr_accessor for options so it is available
and is set by the remaining options in the provided options hash during
initialization.
2013-11-12 12:57:31 -05:00
..
array_serializer Do not convert root and meta_key to Strings 2013-10-18 17:49:20 -02:00
serializer Add @options back into serializers to maintain the functionality of render :json as noted in the docs 2013-11-12 12:57:31 -05:00
default_serializer_test.rb Serialize associations that doesn't have an associated serializer 2013-10-18 17:49:19 -02:00