Skip eval relationships object on belongs to

This commit is contained in:
Benjamin Fleischer
2017-04-30 18:31:35 -05:00
parent 273b7e7f30
commit 6e41528515
5 changed files with 46 additions and 7 deletions

View File

@@ -2,6 +2,10 @@ module ActiveModel
class Serializer
# @api private
class BelongsToReflection < Reflection
# @api private
def foreign_key_on
:self
end
end
end
end