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

Composite Primary Key id method docs #49112

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Commits on Sep 1, 2023

  1. [skip ci] Document composite primary key behaviour

    Adds documentation to exaplain composite key behaviour in
    ActiveRecord::AttributeMethods::PrimaryKey for
    methods #id, #id=, #id?, #id_before_type_cast, #id_was, #id_in_database.
    gmcgibbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    362134b View commit details
    Browse the repository at this point in the history
  2. [skip ci] Document id_value method

    Adds documention for ActiveRecord::ModelSchema#id_value as a utility
    when using composite primary keys.
    gmcgibbon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    5ae1c5a View commit details
    Browse the repository at this point in the history