2020/07/25分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
prevents raw redis and memcached compression
activesupport/lib/active_support/cache/mem_cache_store.rb
、
activesupport/lib/active_support/cache/redis_cache_store.rb
の修正です。
RedisCacheStore
/ MemCacheStore
でrawで書かれたデータを読み込む際に、不要なcompression処理を行わないよう修正しています。
actionview/lib/action_view/helpers/date_helper.rb
、
actionview/lib/action_view/helpers/form_options_helper.rb
の修正です。
FormBuilder
経由でselectタグを生成した際に、valueが空のoptionタグにlabel attributeが指定されてなかっのを、select_tag
メソッド同様に空のlabelを指定するよう修正しています。
Simplify apply_{start,finish}_limit
activerecord/lib/active_record/relation/batches.rb
、
activerecord/lib/active_record/relation/predicate_builder.rb
の修正です。
apply_{start,finish}_limit
メソッド内の共通処理をメソッドに切り出しています。
Fix argument naming in AbstractStore#set_cookie
actionpack/lib/action_dispatch/middleware/session/abstract_store.rb
の修正です。
AbstractStore#set_cookie
メソッドの引数名をオーバライドしている元のメソッドの引数名と同じにするよう修正しています。
Build symbols descending from stars with regexp
Action Packの修正です。
ast構築時にStar用のregexpを指定していたのを、初期化の段階で渡すようにして、ast構築時の処理を減らすよう修正しています。
Remove redundant column_name.to_s
activerecord/lib/active_record/persistence.rb
、
activerecord/lib/active_record/relation/predicate_builder.rb
の修正です。
不要なcolumn_name
のStringへの変換処理を削除しています。
Always use faster HomogeneousIn
in array handler
activerecord/lib/active_record/relation/predicate_builder/array_handler.rb
の修正です。
array handlerでbuildする際にHomogeneousIn
を使用するよう修正しています。