Closed scottmalone closed 7 years ago
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
Thanks bro :)
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