lib/active_model/serializer/association.rb in cheap_ams-0.10.5 vs lib/active_model/serializer/association.rb in cheap_ams-0.10.6
- old
+ new
@@ -8,10 +8,9 @@
#
# @example
# Association.new(:comments, CommentSummarySerializer)
#
Association = Struct.new(:name, :serializer, :options) do
-
# @return [Symbol]
#
def key
options.fetch(:key, name)
end