なるようになるブログ

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

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

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

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


Revert "Merge pull request #37798 from Edouard-chin/ec-sqlite3-connection-transaction"

SQLiteで分離レベルを指定出来るようにした、Merge pull request #37798 from Edouard-chin/ec-sqlite3-connection-transactionをRevertしています。

この対応の影響でテストがランダムにエラーになるようになってしまった為。


Merge pull request #37923 from cpruitt/add-config-for-activejob-retry-jitter

activejob/lib/active_job/exceptions.rbの修正です。

Add jitter to :exponentially_longerで追加された"jitter"(遅延時間の計算に使用される値)の値が0.15固定だったのを、config(config.active_job.default_retry_jitter)で指定出来るよう対応しています。

"jitter"を使用したくない場合に、無効化(0.0)出来るようにする為。


Move records and loaded ivar up to load

activerecord/lib/active_record/relation.rbactiverecord/lib/active_record/relation/record_fetch_warning.rbの修正です。

recordsloaded変数の設定をloadメソッドで行うよう修正しています。


Remove unused requires

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

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


Merge pull request #37924 from itohiro73/improve_contributing_guide_for_rdoc

rails guideのContributing to Ruby on Railsの修正です。

Contributing to the Rails Documentationの項にAPI docの修正についての説明を追加しています。


[ci skip] Fix typo, will_save_change_to_attribute -> will_save_change_to_attribute?

activerecord/lib/active_record/attribute_methods/dirty.rbのdocの修正です。

will_save_change_to_attribute?メソッドのdocでメソッド名をタイポしていたのを修正しています。