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

Transforms string arguments to symbols for scoped arguments on Unique… #1176

Closed
wants to merge 1 commit into from
Closed

Conversation

PhilCoggins
Copy link
Contributor

…ness Matcher

@mcmire mcmire added this to the v4.next milestone Feb 18, 2019
…ness Matcher

* ActiveRecord allows attributes to be use string or symbol arguments interchangeably.
The ValidateUniquenessOfMatcher operates under the assumption that all scope arguments
will be defined as symbols. We should transform the scoped arguments to symbol
so that exceptions do not get raised.

* See #1175
@PhilCoggins
Copy link
Contributor Author

@mcmire Just curious if you have a date planned for a new tagged release?

@mcmire
Copy link
Collaborator

mcmire commented Mar 9, 2019

@PhilCoggins I don't have a date planned for the next release, but I'm aware that Rails 6 is around the corner, so my current priority is to resolve all of the Rails 6 related issues (or merge in PRs around them) and put out a new release some time next month.

@mcmire mcmire modified the milestones: v4.next, v4.1.0 Apr 23, 2019
@mcmire
Copy link
Collaborator

mcmire commented Apr 26, 2019

Thanks so much for this PR! I merged it here: 916f101

@mcmire mcmire closed this Apr 26, 2019
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.

3 participants