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に言及している箇所を削除しています。