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: reset @using_class memoization on .setup #202

Merged
merged 1 commit into from
Jan 28, 2016
Merged

Fix: reset @using_class memoization on .setup #202

merged 1 commit into from
Jan 28, 2016

Conversation

rngtng
Copy link
Contributor

@rngtng rngtng commented Jan 27, 2016

Fixes a tiny bug where calling .setup on RepresentExposure wouldn't 'reset' @using_class. As of this, it was possible that @using_class and @using_class_name were referencing different classes.

@rngtng rngtng changed the title Reset @using_class memorisation on .setup call Fix: reset @using_class memoization on .setup Jan 27, 2016
@dblock
Copy link
Member

dblock commented Jan 28, 2016

Thanks. I'll deal with the build on rbx separately.

dblock added a commit that referenced this pull request Jan 28, 2016
Fix: reset `@using_class` memoization on `.setup`
@dblock dblock merged commit 82cfd8d into ruby-grape:master Jan 28, 2016
@rngtng rngtng deleted the reset-on-setup branch January 28, 2016 13:07
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