diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-11-30 13:17:33 -0500 |
---|---|---|
committer | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-11-30 13:25:42 -0500 |
commit | 220494185c84cf62d60ddcb1fa3527da9d758578 (patch) | |
tree | 0f77d4408b25f0c6f6eeeabc6b878048a1041d1e /guides | |
parent | f6e1061c915a92389fee2819d29b13764942c985 (diff) | |
download | rails-220494185c84cf62d60ddcb1fa3527da9d758578.tar.gz rails-220494185c84cf62d60ddcb1fa3527da9d758578.tar.bz2 rails-220494185c84cf62d60ddcb1fa3527da9d758578.zip |
Clarify no support for non PK id columns
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_basics.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index b9e24099b1..a67e2924d7 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -202,6 +202,8 @@ class Product < ApplicationRecord end ``` +NOTE: Active Record does not support using non-primary key columns named `id`. + CRUD: Reading and Writing Data ------------------------------ |