You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from Rails 6.0, read_attribute will use the memoized
`primary_key` if it detects that the attribute name is `id`.
Since the `primary key` may have been changed to `hid` in this case
because of `find` overload, the new behavior may break relations
where `id` is still the correct attribute to read for foreign key
Fix: #181
0 commit comments