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 update to scope that was defined with an enum #281

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

scottmalone
Copy link
Contributor

This is a non-issue with activesupport 5.0, but prior to that, when
check_scope is assigning the attributes hash, the assignment of an enum
is invalid and results in a value of 0 being assigned as the scope.
Assigning with the enum's setter instead.

Fixes #277

This is a non-issue with activesupport 5.0, but prior to that, when
check_scope is assigning the attributes hash, the assignment of an enum
is invalid and results in a value of 0 being assigned as the scope.
Assigning with the enum's setter instead.

Fixes brendon#277
@brendon brendon merged commit 0adb6e8 into brendon:master Jun 14, 2017
@brendon
Copy link
Owner

brendon commented Jun 14, 2017

Thanks bro :)

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