2020/01/12分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #34727 from higher-pixels/add_missing_to_where_chain
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
関連付けが無くなっているレコードを取得する為のmissing
メソッドを追加しています。
Post.where.missing(:user) #=> Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN "users" ON "users"."id" = "posts"."user_id" WHERE "users"."id" IS NULL LIMIT ? [["LIMIT", 11]] #=> #<ActiveRecord::Relation []>
Update image_processing to avoid Ruby 2.7 warnings
Gemfile.lock
の修正です。
image_processing gemのバージョンを1.2.0に更新しています。Ruby 2.7でwarningが表示されるのを避ける為。
Fix CI failure due to renamed #exception=
to #error=
in minitest 5.14.0
activesupport/lib/active_support/testing/parallelization.rb
の修正です。
UnexpectedError#exception=
を使用してexceptionを指定し直している箇所を、initialize
経由でexceptionを設定するよう修正しています。
minitest 5.14.0でUnexpectedError#exception
がUnexpectedError#error
にリネームされており、minitest 5.14.0より後と前のバージョン、両方サポートする為。
Gemfile
の修正です。
rack 2.1.1がリリースされた為、gemを使用するのにGitHubのコミットを指定していたのを、リリース済みのgemを使用するよう修正しています。