We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34e5faa + 8ac1f10 commit 1d82260Copy full SHA for 1d82260
lib/active_model/serializer/associations.rb
@@ -76,8 +76,6 @@ def has_one(name, options = {}, &block)
76
# @api private
77
#
78
def associate(reflection)
79
- self._reflections = _reflections.dup
80
-
81
self._reflections << reflection
82
end
83
0 commit comments