active_model_serializers/test/unit/active_model/serializer
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
..
attributes_test.rb Store attributes as they are instead of converting them into Strings 2013-10-18 17:49:20 -02:00
config_test.rb s/side_load/embed_in_root 2013-10-24 14:12:02 -04:00
filter_test.rb s/side_load/embed_in_root 2013-10-24 14:12:02 -04:00
has_many_test.rb Don't treat has_one associations embed objects as an array 2013-11-04 10:09:29 -02:00
has_one_test.rb Don't treat has_one associations embed objects as an array 2013-11-04 10:09:29 -02:00
meta_test.rb Do not convert root and meta_key to Strings 2013-10-18 17:49:20 -02:00
options_test.rb 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
root_test.rb Do not convert root and meta_key to Strings 2013-10-18 17:49:20 -02:00
scope_test.rb Pass scope through to associations via @lastobelus 2013-11-04 10:48:19 -02:00