なるようになるブログ

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

rails commit log流し読み(2019/10/30)

2019/10/30分のコミットです。

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


Duplicate the cached value before writing it in the local cache

activesupport/lib/active_support/cache/strategy/local_cache.rbの修正です。

local cacheのwriteメソッドでデフォルト値を格納する前に値をdupするよう修正しています。

指定された値が変更された場合に、取得する値が変わってしまうのを避ける為。


Fix typo guides/source/configuring.md

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

ActionController::BaseActionController:Baseにタイポしていたのを修正しています。


Remove unused requires

activerecord/lib/active_record/base.rbの修正です。

使用していないrequireを削除しています。