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

Use string values in AR finders #5

Merged
merged 1 commit into from
Apr 4, 2013

Conversation

ryanhouston
Copy link
Contributor

This is required to use flip in a project that also uses the squeel gem.
When you pass a symbol to a finder method in squeel, squeel assumes you mean
to reference a column rather than converting the symbol to a string to
be used as the value.

As explained in squeel issue activerecord-hackery/squeel#67

This is required to use flip in a project that also uses the squeel gem.
When you pass a symbol to a finder method in squeel, it assumes you mean
to reference a column rather than converting the symbol to a string to
be used as the value.
pda added a commit that referenced this pull request Apr 4, 2013
@pda pda merged commit 81a8ecf into pda:master Apr 4, 2013
@pda
Copy link
Owner

pda commented Apr 4, 2013

Thanks!

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