2022/11/10分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #46430 from sampatbadhe/guides-set-pointer-cursor-to-copy-code-button
guides/assets/stylesheets/main.css
の修正です。
rails guideのコードexampleにあるCopy
ボタンに、cursor: pointer
の指定、及び、ボタンhover時に色が変わるよう修正しています。
Merge pull request #46424 from jonathanhefner/railties-deprecator
railtiesの修正です。
railtiesで使用するようのdeprecator(Rails.deprecator
)を追加、及び、railtiesでActiveSupport::Deprecation
を使用していた箇所を、Rails.deprecator
を使用するよう修正しています。`
Fix index_exists?
to handle empty columns argument
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
の修正です。
index_exists?
のカラム名に空の配列を指定した場合に正しくチェックが行えるよう修正しています。
Use filename when printing pending migrations
activerecord/lib/active_record/migration.rb
の修正です。
pending migrationがある場合に、エラーメッセージにmigrationのファイル名のみ(パスを除去した値)出力するようになっていたのを、パスも含む値を出力するよう出力しています。複数DB対応により、migrationファイルが任意のディレクトリに格納出来るようになっており、パスまで無いとどのmigrationファイルの事がわからない為。