以下の内容はhttps://y-yagi.hatenablog.com/entry/2022/05/30/043845より取得しました。


rails commit log流し読み(2022/05/29)

2022/05/29分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activerecord/CHANGELOG.md


Make find_nth_from_last more performant when using custom order

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

find_nth_from_lastで全てのレコードのロードが行われないよう修正しています。


Fix with_options bug when first argument is a Proc

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

with_options内で定義したメソッドの最初の引数がProcの場合に、ArgumentErrorがraiseしてしまうバグがあったのを修正しています。


Fix eager loading models without primary keys

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

primary keyが定義されていないmodelに対するeager loadingが正しく行われないバグがあったのを修正しています。


Merge pull request #45191 from jonathanhefner/predicate_for_validation_context-optimization

activemodel/lib/active_model/validations.rbの修正です。

contextual validationsの性能改善の対応を行っています。


Document ActionDispatch::TestResponse#parsed_body [skip ci]

actionpack/lib/action_dispatch/testing/test_response.rbのdocの修正です。

ActionDispatch::TestResponse#parsed_bodyメソッドにドキュメントを追加しています。


small error in first example of pluck section

rails guideのActive Record Query Interfaceの修正です。

pluckメソッドの実行結果の例が実際の結果と異なっていたのを修正しています。


removed redundant backtick symbol from sql examples of rails guides

rails guideのActive Record Query Interfaceの修正です。

各メソッドの実行結果の例のSQLから不要なbacktickを削除しています。




以上の内容はhttps://y-yagi.hatenablog.com/entry/2022/05/30/043845より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14