2014/11/15分のコミットです。
CHANGELOGへの追加はありませんでした。
rails gudideのA Guide to Testing Rails Applications
の修正です。
Rake Tasks for Running your Tests
の項につついて、説明の簡略化、グラマーの修正を行っています。
Revert "Improve performance of AR object instantiation"
Improve performance of AR object instantiationをrevertしています。
ActiveRecordのインスタンス生成の改善処理だったのですが、よいやり方では無かったとの事でrevertしています。以降のコミットで、違うアプローチでの対応が行われています。
Reduce the amount of work performed when instantiating AR models
ActiveRecordのインスタンス生成処理の改善対応です。
ActiveRecordのインスタンス生成時に全てのattributeの生成を行うのを止め、必要になった時にattributeの生成処理を行うよう修正しています。
遅延処理につていは、新規に作成したLazyAttributeHash
クラスで処理を行っています。
Correctly determine if an attribute is uninitialized
activerecord/lib/active_record/attribute_set/builder.rb
の修正です。
先に作成したLazyAttributeHash
クラスのtypeのチェック処理に誤りがあったのを修正しています。
Allow LazyAttributeHash
to be marshalled
activerecord/lib/active_record/attribute_set/builder.rb
の修正です。
LazyAttributeHash
クラスをmarshalで扱えるようにする為に、default_proc
を使用しないよう修正しています。
Don't freeze the same hash we use for memoization
activerecord/lib/active_record/attribute_set/builder.rb
の修正です。
LazyAttributeHash
がfreezeされていた場合、RuntimeErrorをraiseするよう修正しています。
メモ化の為との事です。
[ci skip] add "Qu" to Backends Features list
activejob/lib/active_job/queue_adapters.rb
のdocの修正です。
ActiveJobで使えるバックエンドの機能一覧に"Qu"が漏れていたので、追加しています。