なるようになるブログ

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

rails commit log流し読み(2019/07/12)

2019/07/12分のコミットです。

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


Improve changelog entry, remove extraneous word [ci skip]

activesupport/CHANGELOG.mdの修正です。

CHANGELOGエントリーのグラマーの修正を行っています。


completes first version of the new autoloading guide [skip ci]

rails guideのAutoloading and Reloading Constants (Zeitwerk Mode)の修正です。

zeitwerkが想定しているアプリの構成について説明したProject Structureの項を追加、及び各項の言い回しの修正等を行っています。


minor edit [skip ci]

guides/source/documents.yamlの修正です。

Autoloading and Reloading Constants (Classic Mode)の説明のグラマーの修正を行っています。


These are already required via rails/command.rb

railties/lib/rails/generators.rbの修正です。

active_supportactive_support/core_ext/object/blankのrequireを削除しています。直前でrequireしているrails/commandでrequireされている為。


Make sure to require active_support.rb before requiring active_support/rails.rb

actionpack/lib/abstract_controller.rbの修正です。

active_support/railsをrequireする前にactive_supportをrequireするよう修正しています。


active_support/dependencies/autoload is already required via active_support.rb

各ファイルからactive_support/dependencies/autoloadのrequireを削除しています。active_supportでrequireされる為。


try (Just a Little Bit Harder)

actionpack/test/controller/resources_test.rbの修正です。

tryメソッドを使用していた箇所をsafe navigation operatorを使用するよう修正しています。


No Woman, No try

各ファイルから使用していないactive_support/core_ext/object/tryのrequireを削除しています。


A type class or nil has to respond_to :to_s

actionview/lib/action_view/helpers/asset_tag_helper.rbの修正です。

tryメソッドを使用していた箇所をsafe navigation operatorを使用するよう修正しています。


active_support/rails has to be required via abstract_controller.rb

actionpack/lib/action_controller.rbの修正です。

active_support/railsのrequireを削除しています。直後にrequireしているabstract_controllerでrequireされている為。


active_support/deprecation is not in use here

activesupport/lib/active_support/callbacks.rbactivesupport/lib/active_support/inflector/inflections.rbの修正です。

使用していないactive_support/deprecationのrequireを削除しています。


active_support/deprecation has to be already required via active_support/rails.rb

各ファイルからactive_support/deprecationのrequireを削除しています。active_support/railsでrequireされる為。


try (Just a Little Bit Harder)

actionpack/test/controller/resources_test.rbの修正です。

tryメソッドを使用していた箇所をsafe navigation operatorを使用するよう修正しています。


No Woman, No try

各ファイルから使用していないactive_support/core_ext/object/tryのrequireを削除しています。


A type class or nil has to respond_to :to_s

actionview/lib/action_view/helpers/asset_tag_helper.rbの修正です。

tryメソッドを使用していた箇所をsafe navigation operatorを使用するよう修正しています。


active_support/rails has to be required via abstract_controller.rb

actionpack/lib/action_controller.rbの修正です。

active_support/railsのrequireを削除しています。直後にrequireしているabstract_controllerでrequireされている為。


active_support/deprecation is not in use here

activesupport/lib/active_support/callbacks.rbactivesupport/lib/active_support/inflector/inflections.rbの修正です。

使用していないactive_support/deprecationのrequireを削除しています。


active_support/deprecation has to be already required via active_support/rails.rb