Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serialization scope options #1650

Merged
merged 3 commits into from
Apr 1, 2016
Merged

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Apr 1, 2016

Fixes #1509

@bf4 bf4 force-pushed the fix_serialization_scope branch 2 times, most recently from f8cad48 to 8f4ffd2 Compare April 1, 2016 16:30
@bf4 bf4 force-pushed the fix_serialization_scope branch from 8f4ffd2 to 2edd39d Compare April 1, 2016 17:05
serializer_class.send(:undef_method, scope_method) if serializer_class.method_defined?(scope_method)
instance_method_cache && instance_method_cache.delete(scope_method)
class_method_cache && class_method_cache.delete(scope_method)
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woah

@remear
Copy link
Member

remear commented Apr 1, 2016

Looks good to me.

@bf4 bf4 merged commit 7acbb76 into rails-api:master Apr 1, 2016
@bf4 bf4 deleted the fix_serialization_scope branch April 1, 2016 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants