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

Correctly fetch serialization scope #21

Merged
merged 1 commit into from
Aug 21, 2014

Conversation

radanskoric
Copy link
Contributor

Latest master when used with 0.9.x doesn't correctly handle scope, i.e. it passes :current_user symbol to the serializer scope instead of the value of current_user method call.

This fixes this and adds a regression test for it.

@radanskoric radanskoric reopened this Aug 20, 2014
@radanskoric
Copy link
Contributor Author

Sorry, wrong button, I was just checking the state of this. Is there any chance in getting this merged soon?

jrhe added a commit that referenced this pull request Aug 21, 2014
Correctly fetch serialization scope
@jrhe jrhe merged commit 56121ad into ruby-grape:master Aug 21, 2014
@radanskoric radanskoric deleted the fix-for-0.9.x branch August 21, 2014 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants