active_model_serializers/lib
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
..
action_controller Improve build_json_serializer readability a bit 2013-10-30 23:37:36 -02:00
active_model 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
active_model_serializers.rb Add ActiveModel::SerializerSupport 2013-10-24 16:09:00 -02:00