active_model_serializers/lib/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
..
serializer Fixed Rails 3 compatibility. 2013-11-04 17:45:36 -08:00
array_serializer.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
default_serializer.rb Make DefaultSerializer include AM::Serializable so embedded_in_root_associations is always defined also there 2013-11-01 22:35:56 -02:00
serializable.rb Make ArraySerializer reuse Serializer embedded_in_root_associations code 2013-10-31 17:28:39 -02:00
serializer_support.rb Add ActiveModel::SerializerSupport 2013-10-24 16:09:00 -02:00
serializer.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