2019/09/09分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix Class#new + keyword arguments warnings
Class#new
にキーワード引数を渡す際にdouble splatを指定するよう修正しています。
Column takes keyword arguments
activerecord/lib/active_record/connection_adapters/column.rb
の修正です。
NullColumn#initialize
の引数指定でキーワード引数を明示的に指定するよう修正しています。
I18n.translate takes keyword arguments
actionpack/lib/abstract_controller/translation.rb
の修正です。
I18n.translate
にキーワード引数を渡す際にdouble splatを指定するよう修正しています。
Fix Class#new + keyword arguments warnings
Class#new
にキーワード引数を渡す際にdouble splatを指定するよう修正しています。
Keyword arguments for TableDefinition and create_table_definition
Active Recordの修正です。
TableDefinition
、create_table_definition
メソッドでキーワード引数の指定にdouble splatを指定するよう修正しています。
Keyword arguments for Type initializers
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
の修正です。
register_integer_type
メソッドでキーワード引数の指定にdouble splatを指定するよう修正しています。
select_all takes keyword arguments
activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb
の修正です。
select_all
メソッドでキーワード引数の指定にdouble splatを指定するよう修正しています。
Keyword arguments for schema manipulation methods
Active Recordの修正です。
schema操作系のメソッドでキーワード引数の指定にdouble splatを指定するよう修正しています。
Errors#add takes keyword arguments
activerecord/lib/active_record/validations/uniqueness.rb
の修正でうs.
add
メソッドでキーワード引数の指定にdouble splatを指定するよう修正しています。
Support calling include? on beginless and endless ranges.
activesupport/lib/active_support/core_ext/range/include_time_with_zone.rb
の修正です。
Range#include?
がbeginless Raneとendless Rangeで動作するよう修正しています。
Clear query cache when insert all is used
Active Recordの修正です。
insert
, insert_all
, upsert
, 及び upsert_all
メソッドでquery cacheがclearされず、query cache有効時に各処理が誤った結果が返してしまうバグがあったのを修正しています。
Fix docs to update http and www.ruby-doc.org [ci skip]
docの修正です。
http://www.ruby-doc.org へのリンクをhttps://ruby-doc.org に修正しています。
Improve autosave documentation [ci skip]
activerecord/lib/active_record/autosave_association.rb
のdocの修正です。
ActiveRecord::AutosaveAssociation
のdoc内のexampleコードを、autosave
が指定された場合 / 指定されなかった場合の挙動がよりわかりやすくなるよう修正しています。
Merge pull request #37096 from npras/master
guides/assets/stylesheets/main.css
の修正です。
リストの中でもword highlightが有効になるようスタイルを修正しています。
Fix folders update watcher with no folders to watch (#36163)
activesupport/lib/active_support/evented_file_update_checker.rb
の修正です。
クラス内で行っていたlisten
gemのロード処理をファイルの先頭で行うようにして、listen
gemのインストールが不足していた場合に直ぐ気付けるよう修正しています。
nil.try accepts keyword arguments (and does nothing with them)
activesupport/lib/active_support/core_ext/object/try.rb
の指定です。
try
、try!
メソッドでキーワード引数を受け取れるよう引数指定にdouble splatを追加しています。
Fix keyword arguments warnings
Hashをキーワード引数として渡す際にdouble splatを指定するよう修正しています。