2024/04/09分のコミットです。
CHANGELOGへの追加はありませんでした。
Minor tweaks / improvements to recent changelog/api docs [ci skip]
docの修正です。
各docのグラマーや用語の修正を行っています。
Fix textdecorator specificity on hovering in index
guides/assets/stylesrc/_main.scssの修正です。
rails guideのindexページで、hover時のtext-decoratorとcolorを正しく使用されてなかったのを修正しています。
Raise when both :force and :if_not_exists provided to create_table
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbの修正です。
create_tableに:forceと:if_not_existsオプションを同時に指定した場合に、ArgumentErrorをraiseするよう修正しています。
[RF-DOCS] Action View Helpers Documentation [ci-skip] (#51432)
rails guideのAction View Helpersの修正です。
guide全体について、セクションの見直し、exampleやメソッドの追加、言い回しの修正等を行っています。
Remove duplicated features attribute on devcontainer.json.tt
railties/lib/rails/generators/rails/app/templates/.devcontainer/devcontainer.json.ttの修正です。
重複していたfeatures attributeの指定を削除しています。
Fix minor typos in enqueue_after_transaction_commit default docs
railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_2.rb.ttのdocの修正です。
コメント内のタイポを修正しています。
Properly escape paths in erb example code blocks in guides [ci-skip]
rails guideのThe Asset Pipelineの修正です。
exampleコード内のコメント部分を適切にエスケープするよう修正しています。
Use SQL comments for SQL code blocks in guides [ci-skip]
rails guideのActive Record Basicsの修正です。
SQL code block内のコメントにSQLのcomment指定(--)を使用するよう修正しています。
Merge pull request #51355 from asavageiv/alan/update-docs
rails guideのActive Record Basicsの修正です。
Creating Namespaced Modelsセクションのexampleコードで、他のセクションと同じmodel名を使用するよう修正しています。
Ensure association's foreign_key: and query_constraints: options behave the same
activerecord/lib/active_record/reflection.rbの修正です。
associationのforeign_keyオプションがArrayの場合、query_constraintsに同じ値を設定するよう修正しています。composite foreign keyを使用している場合に自動のinverse処理が正しく動作するようにする為。