From e2fcaf804fd9bbae45a74ad18e4797d136fa4a22 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Wed, 31 Dec 2014 00:07:22 +0530 Subject: Update CHANGELOG entry for #18070 [ci skip] - Improved wording of CHANGELOG entry for https://github.com/arthurnn/rails/commit/5acd24bbeae0e9e5e81e87b5929e17f35527b2ea. --- activerecord/CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 48c1027460..c78ddd5fe6 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,6 +1,7 @@ -* When table has a composite primary key, the `primary_key` method for - sqlite3 and postgresql was only returning the first field of the key. - Ensures that it will return nil instead, as AR dont support composite pks. +* When a table has a composite primary key, the `primary_key` method for + SQLite3 and PostgreSQL adapters was only returning the first field of the key. + Ensures that it will return nil instead, as Active Record doesn't support + composite primary keys. Fixes #18070. -- cgit v1.2.3