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

Fix symbol to string cast in default tree order #74

Merged

Conversation

felixbuenemann
Copy link
Collaborator

Rails automatically quotes column names if symbols are given to relation.order(), so we need to keep symbols in default_tree_order to keep the quoting behavior instead of converting to a string.

Fixes #73

Rails automatically quotes column names if symbols are given to
`relation.order()`, so we need to keep symbols in `default_tree_order`
to keep the quoting behavior instead of converting to a string.

Fixes amerine#73
@felixbuenemann felixbuenemann merged commit 5d999ab into amerine:master Jan 30, 2018
@felixbuenemann felixbuenemann deleted the fix-order-option-quoting branch January 30, 2018 14:17
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.

1 participant