2018/11/06分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #34131 from lsylvester/defend-against-unmarshable-exceptions
activesupport/lib/active_support/testing/parallelization.rb
の修正です。
parallel testsでExceptionが発生した場合、かつ、Exceptionがmarshal出来ない場合(Proc
を使用している場合等)に、エラーをDRb::DRbRemoteError
でラップしてデータを受け渡し出来るよう修正しています。
Fix inspect with non-primary key id attribute
activerecord/lib/active_record/attribute_methods.rb
、activerecord/lib/active_record/core.rb
の修正です。
primary keyでないid
attributeを使用している場合に、inspect
メソッドでそのid
attributeが表示されないバグがあったのを修正しています。