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 quote_table_name instead of quote_column_name to quote table names #29

Merged
merged 1 commit into from
Dec 1, 2012

Conversation

vjt
Copy link
Contributor

@vjt vjt commented Nov 30, 2012

Hi,

when table names are referenced using the schema they're contained in (e.g. history.foobar), AR's quote_column_name yields "history.foobar", while the correct quoting is "history"."foobar" - speaking of Postgres.

So, I've changed the code to use quote_table_name when applicable.

Cheers,

~Marcello

mceachen added a commit that referenced this pull request Dec 1, 2012
Use quote_table_name instead of quote_column_name to quote table names
@mceachen mceachen merged commit 19f3005 into ClosureTree:master Dec 1, 2012
@vjt
Copy link
Contributor Author

vjt commented Dec 1, 2012

Thanks :-)

@mceachen
Copy link
Collaborator

mceachen commented Dec 1, 2012

No no, thank you! I'll push a new version today with your fix.

Matthew

On Dec 1, 2012, at 4:30 AM, Marcello Barnaba notifications@github.com
wrote:

Thanks :-)


Reply to this email directly or view it on
GitHubhttps://github.com//pull/29#issuecomment-10916582.

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