2024/08/13分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #52564 from tnir/tn-use-bundle-set-without-on-dev-deps
rails guideのInstalling Rails Core Development Dependenciesの修正です。
deprecatedになっているbundle installの--withoutオプションを使用している箇所があったのを、bundle config set withoutを使用するよう修正しています。
Merge pull request #52563 from tnir/tn-use-bundle_only-on-guide-generation
rails guideのContributing to Ruby on Railsの修正です。
deprecatedになっているbundle installの--withoutオプションを使用している箇所があったのを、BUNDLE_ONLY envを使用するよう修正しています。
Fix PostgresqlAdapter when prepared statements are disabled
Active Recordの修正です。
prepared statementsが無効になっている場合に、PostgreSQL adapterでraw SQLを実行するとエラーになってしまうバグがあったのを修正しています。
Merge pull request #52265 from JuanVqz/update-stats-task-deprecation-message
railties/lib/rails/tasks/statistics.rakeの修正です。
bin/rails statsを実行した際に表示されるdeprecatedメッセージで、deprecatedになったコマンド名、及び、削除されるバージョンに誤りがあったのを修正しています。
Update development mode default caching docs (#52474)
rails guideのCaching with Rails: An Overview、及び、
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.ttのdocの修正です。
dev環境のcacheのデフォルトの設定を最新の情報に更新、及び、cacheを有効化した際の挙動についての説明を追加しています。
Always captilize the framework name
rails guideのCaching with Rails: An Overview、及び、
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.ttのdocの修正です。
フレームワーク名の先頭を大文字に更新しています。
Merge pull request #52403 from y-yagi/app_update_public_api
railties/lib/rails/generators/rails/app/app_generator.rbの修正です。
API only applicationsでapp:updateを実行した際に、不要なpublicディレクトリを生成しないよう修正しています。
Merge pull request #52376 from sato11/active-storage-deprecated-config
activestorage/lib/active_storage/engine.rbの修正です。
現在不要なconfigの設定処理を削除しています。
[DOC] Clarify previous (type/value) in Activecord::Attributes attribute (#52208)
activerecord/lib/active_record/attributes.rbのdocの修正です。
ActiveRecord::Attributes.attributeメソッドのdocに、各オプションが指定されなかった場合の挙動についての説明を追加しています。
actionview/lib/action_view/helpers/tag_helper.rbの修正です。
デバッグ用のログ出力処理が残っていたのを削除しています。
Fix linitng error in Caching With Rails doc
rails guideのCaching with Rails: An Overviewの修正です。
lint処理でエラーになってしまっていたのを修正しています。
Use sqlite3 in Dockerfile for apps using sqlite3
railties/lib/rails/generators/database.rbの修正です。
Dockerfileでsqlite3用のpackageにlibsqlite3-0を使用していたのを、sqlite3 packageを使用するよう修正しています。libsqlite3-0だとdbconsoleで使用するツールがインストールされず、sqlite3だとそのツールがインストールされる、かつ、libsqlite3-0に依存しており引き続きライブラリとしても使用出来る為。
Allow railties to use lazy routes
railties/lib/rails/engine.rbの修正です。
Defer route drawing to the first request, or when url_helpers calledで行われたlazy routesの設定処理がboot時に正しく設定されてなかったのを修正していmさう。
Fix create_table with :auto_increment option for MySQL adapter
activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rbの修正です。
MySQL adaptercreate_tableに:auto_incrementオプションを指定した場合に、オプションが無視されてしまうバグがあったのを修正しています。
Quick fix while we work on digest solution
guides/rails_guides/generator.rb、
guides/source/layout.html.erbの修正です。
rails guideで使用しているcssファイルに-v2 suffixを指定するよう修正しています。cacheされていて同名の古いファイルが使用されてしまい、guideが正しく表示されない、という問題が発生しており、とりあえずの対応としてファイル名を変更した、との事です。