2017/06/01分のコミットです。
CHANGELOGへの追加はありませんでした。
Add missing delegate :extending, to: :all
activerecord/lib/active_record/querying.rbの修正です。
scopeの中でextendingメソッドを呼び出した際にNoMethodErrorが発生してしまうバグがあったのを修正しています。
Merge pull request #26634 from kamipo/extract_numeric_data
Active Recordのテストの修正です。
NumericDataのテスト用のmodelがテストケース内に記載されていたのを、別ファイルに切り出しています。
Should use quote for a string literal
activerecord/lib/active_record/tasks/sqlite_database_tasks.rbの修正です。
SQLiteのdump処理でignore_tablesを含まないようにする処理で、テーブル名のエスケープ処理が正しく行われていなかったのを修正しています。
Merge pull request #29293 from kamipo/fix_sti_with_default_scope
activerecord/lib/active_record/scoping/default.rbの修正です。
STI modelでdefault_scopeを定義していた場合に、その内容が正しくSQL実行時に使用されないバグがあったのを修正しています。
Merge pull request #29220 from kamipo/consolidate_database_specific_json_types
Active Recordの修正です。
DB固有のJSON型をType::Jsonで扱うようリファクタリングしています。
Correct a has_many association test
activerecord/test/cases/associations/has_many_associations_test.rbの修正です。
test_dependent_association_respects_optional_hash_conditions_on_deleteのテストでテスト名に反してhash conditionを使用していなかったのを、使用するよう修正しています。
Simplify assert_no_match %r{colname.*limit:} regex
activerecord/test/cases/schema_dumper_test.rbの修正です。
test_schema_dump_includes_limit_constraint_for_integer_columnsでassert_match、assert_no_matchを使用してて同じ内容のチェックをそれぞれ別に行っていたのを、正規表現を修正し一つにまとめています。