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 camelCase column lead to exception when query #901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seaify
Copy link

@seaify seaify commented Jun 19, 2018

when the pg database have column, like firstName, the original code would throw exception.

need add quote for the column names

@seuros seuros self-assigned this Jun 19, 2018
@seuros
Copy link
Collaborator

seuros commented Jun 19, 2018

I seem we need to use Arel for this part

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