なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2018/01/08)

2018/01/08分のコミットです。

CHANGELOGへの追加はありませんでした。


Document automatic width-height swapping [ci skip]

activestorage/lib/active_storage/analyzer/video_analyzer.rbのdocの修正です。

Analyzer::VideoAnalyzerクラスのdocにvideoのangleが90、または、270度の場合に、videoの幅と高さをスワップする旨説明を追加しています。


Improve the deprecation message for using subclass of Rails::Application to start the Rails server

railties/lib/rails/commands/server/server_command.rbrailties/CHANGELOG.mdの修正です。

config.rurunメソッドにRails::Applicationのサブクラスを指定した場合に表示されるdeprecationメッセージのグラマーの修正を行っています。


Fix deleting through records when using has_many through with source_type

activerecord/lib/active_record/associations/through_association.rbの修正です。

activerecord/lib/active_record/associations/through_association.rbの修正です。

has_many through associationsを使用していて、associations経由でrecordsを削除する場合に、source_typeに指定した値が無視されるバグがあったのを修正しています。


Added release notes for Action Cable [ci skip]

rails guideのRuby on Rails 5.2 Release Notesの修正です。

Action Cableの項にRemovalsNotable changesについての説明を追加しています。


Added deprecations and removals notes for Action Pack [ci skip]

rails guideのRuby on Rails 5.2 Release Notesの修正です。

Action Packの項にRemovalsNotable changesについての説明を追加しています。


Added deprecation and removal notes for Action View [ci skip]

rails guideのRuby on Rails 5.2 Release Notesの修正です。

Action Viewの項にRemovalsNotable changesについての説明を追加しています。


Fix the desc for image_alt change [ci skip]

rails guideのRuby on Rails 5.2 Release Notesの修正です。

imageタグを生成する際、デフォルトではalt属性を生成しないようにした対応の説明を修正しています。


Allow use_authenticated_message_encryption to be set in new_framework_defaults_5_2.rb

activesupport/lib/active_support/message_encryptor.rbactivesupport/lib/active_support/railtie.rbの修正です。

config/initializers/new_framework_defaults_5_2.rbconfig.active_support.use_authenticated_message_encryptionを指定した際に、指定した値が使用されないバグがあったのを修正しています。


Remove meaningless check

activesupport/lib/active_support/railtie.rbの修正です。

active_support.set_hash_digest_class initializerから不要なconfig.active_support.hash_digest_classのチェックを削除しています。


Fix rubocop space before comma

activesupport/test/core_ext/object/blank_test.rbの修正です。

テスト内でrubocopの規約に違反している箇所があったのを修正しています。