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.
1 parent b531b29 commit d701849Copy full SHA for d701849
lib/jsonapi/rails.rb
@@ -47,7 +47,7 @@ def self.add_errors_renderer!
47
) unless resource.is_a?(ActiveModel::Errors)
48
49
errors = []
50
- model = resource.instance_variable_get('@base')
+ model = resource.instance_variable_get(:@base)
51
52
if respond_to?(:jsonapi_serializer_class, true)
53
model_serializer = jsonapi_serializer_class(model, false)
0 commit comments