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

#152: Breaks validates :uniqueness => true #153

Closed
wants to merge 1 commit into from

Conversation

recurser
Copy link
Contributor

Hey guys, this fixes the uniqueness validator problem as far as I can tell.

Thanks for all your hard work - much appreciated!

@norman
Copy link
Owner

norman commented Sep 13, 2011

Thanks a lot for sending this. I had a couple comments in your pull request, could you take a look when you get a chance and then I'll pull?

norman pushed a commit that referenced this pull request Sep 13, 2011
@norman norman closed this Sep 13, 2011
@workmad3
Copy link

I also encountered this error. The problem appears to be something to do with the exists method that friendly_id overrides. I managed to 'fix' the error by removing the override here:
https://github.com/hedtek/friendly_id

This isn't a fix, just a hack to get around the issue temporarily. I'm posting it here to help other's attempt to isolate the root cause. (This was on rails 3.1.1.rc1, where the problem still seems to exist)

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.

None yet

3 participants