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 extract_primary_key from AR #96

Open
arthurnn opened this issue Mar 11, 2015 · 0 comments
Open

Use extract_primary_key from AR #96

arthurnn opened this issue Mar 11, 2015 · 0 comments

Comments

@arthurnn
Copy link
Contributor

we define the method extract_primary_key https://github.com/soundcloud/lhm/blob/master/lib/lhm/table.rb#L96 . I am pretty much sure that was done because we had to support different adapters. Now as we only support ActiveRecord, we can use the method from their connection object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant