なるようになるブログ

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

rails commit log流し読み(2020/12/03)

2020/12/03分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

railties/CHANGELOG.md


Incorrect default for config.autoload_paths [ci skip]

rails guideのConfiguring Rails Applicationsの修正です。

config.autoload_pathsのデフォルト値の説明が実際の値と異なっていたのを修正しています。


Link to API docs in Action Cable Overview guide [ci-skip]

rails guideのAction Cable Overviewの修正です。

各メソッドについてAPI docにリンクするよう修正しています。


Make sure that attribute_for_inspect respect filter_attributes

activerecord/lib/active_record/attribute_methods.rbactiverecord/lib/active_record/core.rbの修正です。

format_for_inspectメソッドで、filter_attributesで指定したattributesについてはfilterするよう修正しています。


Start Rails 6.2 development :tada:

各ライブラリのバージョンを6.2.0.alphaに更新しています。


Merge pull request #40717 from cindygshopify/remove_sprockets_related_files

railties/lib/rails/generators/rails/app/app_generator.rbrailties/lib/rails/generators/rails/plugin/plugin_generator.rbの修正です。

rails new--skip-sprocketsオプションが指定された場合に、app/assets/config/manifest.jsapp/assets/stylesheets/application.cssを生成しないよう修正しています。


Fix to handle missing yarn environment in bin/yarn

railties/lib/rails/generators/rails/app/templates/bin/yarn.ttの修正です。

localにyarnがインストールされていない場合にbin/yarnを実行した場合に、TypeErrorが発生してしまうバグがあったのを修正しています。