2017/10/26分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Require capybara 2.15 because we depend on the new puma integration
actionpack/lib/action_dispatch/system_test_case.rb
の修正です。
使用するcapybaraのバージョンを2.15以上にしています。
system testで使うPumaの設定を、Capybaraに登録されている:puma
serverの設定を使うようにした対応(Use the default Capybara registered puma server configuration)の為に、2.15以上を使用する必要がある為。
Merge pull request #30970 from rohitpaulk/fix-sqlite-3-index-order-dump
activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rb
の修正です。
sqlite3 adapterでmigrationファイルにindexのorder(e.g. add_index :topics, :bumped_at, order: {bumped_at: :desc}
)を指定した場合に、schema.rb
にその情報が出力されていなかったのを、出力するよう修正しています。
Implement PostgreSQL::SchemaDumper#extensions
activerecord/lib/active_record/connection_adapters/postgresql/schema_dumper.rb
、
activerecord/lib/active_record/schema_dumper.rb
の修正です。
ActiveRecord::SchemaDumper#extensions
メソッドを、PostgreSQL::SchemaDumper#extensions
メソッドに移動しています。
Refactor SchemaDumper
to make it possible to adapter specific customizationでadapter毎にSchemaDumper
クラスを保持するようになったのですが、extensions
メソッドが必要なのはPostgreSQLだけなので、PostgreSQL::SchemaDumper#extensions
メソッドに実装を移動しています。
Merge pull request #30965 from kmanzana/master
actionpack/lib/action_controller/metal/params_wrapper.rb
の修正です。
modelがnested attributesを使用している場合に、ActionController::ParamsWrapper
でwrapした結果にnested attributesの要素が含まれていなかったのを、含むよう修正しています。
Remove CHANGELOG entry that was backported to Rails 5.1.3. [ci skip] (#30986)
actioncable/CHANGELOG.md
の修正です。
Rails 5.1系にバックポートされている対応のエントリーを削除しています。
Third party adapters doesn't support index orders yet
activerecord/test/cases/schema_dumper_test.rb
の修正です。
schema.rb
でindex
のorderを保持する事を確認するテストを、PostgreSQLAdapter
とSQLite3Adapter
でのみ実行するよう修正しています。
Merge pull request #30813 from y-yagi/remove_unused_secrets_yml
railties/lib/rails/generators/rails/app/app_generator.rb
、
railties/lib/rails/generators/rails/app/templates/config/secrets.yml
の修正です。
使用していないsecrets.yml
のテンプレートファイルを削除しています。
remove incorrect statement about serializable transactions
activerecord/lib/active_record/validations/uniqueness.rb
のdocの修正です。
validates_uniqueness_of
メソッドのdoc内、Concurrency and integrity
項にある重複データを避ける為の対応方法についての説明から、トランザクションについて言及している箇所を削除しています。
説明されているフローが、トランザクションの状態によってはデッドロックが発生する可能性があり、不要な混乱を避ける為削除したようです。
Remove mention about Evented Redis [ci skip]
rails guideのAction Cable Overview
の修正です。
Dependencies
の項からEvented Redisに言及している箇所を削除しています。