2018/10/20分のコミットです。
CHANGELOGへの追加はありませんでした。
Add guides section on verbose query logs to Debugging
rails guideのDebugging Rails Applications
の修正です。
verbose query logs について説明したVerbose Query Logs
の項を追加しています。
Avoid running webpacker:install
on tests that don't need it
railties/test/generators/app_generator_test.rb
、
railties/test/generators/shared_generator_tests.rb
の修正です。
generatorsのテストで、不要な場合はwebpacker:install
を実行しないよう修正しています。webpacker:install
は実行に時間が掛かる為。
attribute_accessors no longer uses extract_options since a5b0c60714e1e8d8c182af830a26e1c7c884271d
activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
の修正です。
不要なactive_support/core_ext/array/extract_options
のrequireを削除しています。
Missing require "active_support/dependencies/autoload"
activesupport/lib/active_support/number_helper.rb
の修正です。
不足していたactive_support/dependencies/autoload
のrequireを追加しています。
ActiveSupport module may not always already defined here
activesupport/lib/active_support/core_ext/numeric/conversions.rb
、
activesupport/lib/active_support/core_ext/range/conversions.rb
の修正です。
NumericWithFormat
、RangeWithFormat
moduleを定義する際に、必ずActiveSupport
moduleも定義するよう修正しています。
ファイル単体でrequireした際にActiveSupport
が定義されずエラーになるのを防ぐ為。
Missing require "active_support/callbacks"
activesupport/lib/active_support/current_attributes.rb
の修正です。
不足していたactive_support/callbacks
のrequireを追加しています。
Missing require "concurrent/hash"
activesupport/lib/active_support/execution_wrapper.rb
の修正です。
不足していたconcurrent/hash
のrequireを追加しています。
Missing require "active_support/number_helper/number_converter"
Active Supportの修正です。
activesupport/lib/active_support/number_helper
配下の各ファイルに、不足していたactive_support/number_helper/number_converter
のrequireを追加しています。
Merge pull request #34260 from frodsan/fix/remove-unnecessary-escape-char
actioncable/lib/rails/generators/channel/templates/javascript/index.js.tt
、
railties/lib/rails/generators/rails/app/templates/app/javascript/channels/index.js
の修正です。
generatorが生成するchannel用のindexファイルで、channelファイルをrequireする処理から不要な正規表現のエスケープ文字を削除しています。
Consistently use kwargs for instance_{reader,writer,accessor}
options
activesupport/lib/active_support/configurable.rb
、
activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
の修正です。
thread_mattr_reader
、thread_mattr_writer
、thread_mattr_accessor
メソッドで一部引数にキーワード引数を使用するよう修正しています。
mattr_acessor
メソッドは既にそうなっており、引数を合わせるようにする為。