2019/02/06分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Chaining named scope is no longer leaking to class level querying methods
Active Recordの修正です。
Chaining name scopeを使用しているとき、そのchainしてるscopeがclass levelのquery methodに影響を与えてしまう、というバグがあったのを修正しています。
Set sqlite3 gem version explicitly in generated Gemfile
railties/lib/rails/generators/database.rb
の修正です。
rails new
で生成するGemfile
でsqlite3
gemのバージョンを明示的に指定するよう修正しています。
actionview/lib/action_view/helpers/tags/base.rb
の修正です。
collection inputsにfloat valueを指定した場合に、生成されるタグのdom idがユニークにならない(e.g. [1.0, 10]
を指定した場合に、どちらのタグもuser_name_10
が生成される)バグがあったのを修正しています。
Add missing require "tmpdir"
in ActiveSupport::EncryptedFile
activesupport/lib/active_support/encrypted_file.rb
の修正です。
不足していたtmpdir
のrequireを追加しています。
Relation no longer respond to Arel methods
activerecord/lib/active_record/relation/delegation.rb
の修正です。
ActiveRecord::Delegation#respond_to_missing?
メソッドでarelに対してrespond_to?
チェックを行っていたのを、しないよう修正しています。
Remove delegation of missing methods in a relation to arelでrelationからarelへのdelegateは行わくなった為。
Merge pull request #35171 from rails/speed-up-partials
Action Viewの修正です。
partial templateをrenderする際に、variable nameをcacheするよう修正しています。性能向上の為。
Merge pull request #35162 from silppuri/fix-incorrectly-matching-unachored-paths
actionpack/lib/action_dispatch/journey/path/pattern.rb
の修正です。
routingのpath match処理にバグがあり、末尾に不要な記号がある場合も同じpathと見なされてしまう(e.g. /assets/foo.png
と/assetsfoo.png
が同じpathと見なされてしまう)バグがあったのを修正しています。
Update terminal-to-html inline images url in ScreenshotHelper
actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb
のdocの修正です。
terminal inline imageのGitHub pageのURL(https://buildkite.github.io/terminal-to-html/inline-images)を修正しています。buildkite/terminalのリポジトリ名がbuildkite/terminal-to-htmlに変更になった為。
Merge pull request #34971 from y-yagi/improve_railties_test
railtiesのテストの修正です。
不要なyarn install
を実行をしないよう修正、必要なライブラリをテスト実行前に読み込むよう修正等を行っています。
Fix CollectionProxy#concat
to return self by alias it to #<<
activerecord/lib/active_record/associations/collection_proxy.rb
の修正です。
CollectionProxy#concat
メソッドの戻り値が引数に指定したrecords
になっていたのを、self
を返すよう修正しています。ドキュメントにself
を返す旨説明が記載されており、ドキュメント(と他のメソッドと)挙動を合わせる為。