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

Deprecate supports_primary_key? #27977

Closed
wants to merge 1 commit into from

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Feb 12, 2017

supports_primary_key? was added to determine if primary_key is
implemented in the adapter in f060221. But we already use primary_key
without supports_primary_key? (207f266, 5f3cf42) and using
supports_primary_key? has been removed in #1318. This means that
supports_primary_key? is no longer used in the internal and Active
Record doesn't work without primary_key is implemented (all adapters
must implement primary_key).

`supports_primary_key?` was added to determine if `primary_key` is
implemented in the adapter in f060221. But we already use `primary_key`
without `supports_primary_key?` (207f266, 5f3cf42) and using
`supports_primary_key?` has been removed in rails#1318. This means that
`supports_primary_key?` is no longer used in the internal and Active
Record doesn't work without `primary_key` is implemented (all adapters
must implement `primary_key`).
@jeremy jeremy closed this in bb45fa0 Feb 13, 2017
@kamipo kamipo deleted the deprecate_supports_primary_key branch February 13, 2017 02:50
yahonda added a commit to yahonda/oracle-enhanced that referenced this pull request Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants