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

To make uniqueness validator work with squeel (Rails 3.0) #437

Merged
merged 1 commit into from Apr 23, 2015

Commits on Apr 23, 2015

  1. To make uniqueness validator work with squeel

    https://github.com/activerecord-hackery/squeel#symbols-as-the-value-side-of-a-condition-in-normal-where-clauses
    "If you have any where() clauses that use a symbol as the value side (right-hand side) of a condition, you will need to change the symbol into a string in order for it to continue to be treated as a value."
    torumori committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    f790ad3 View commit details
    Browse the repository at this point in the history