2024/04/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #51523 from etiennebarrie/route-to-implicit-controller
actionpack/lib/action_dispatch/routing/mapper.rb
の修正です。
Rails 7.1.3で、routeでcontroller
scope無いでto
オプションをcontroller
の指定無しで定義した場合にエラーになるリグレッションが発生していたのを修正しています。
Rails.application.routes.draw do controller :home do get "recent", to: "recent_posts" end end
Merge pull request #51445 from shouichi/remove-node-modules-from-the-final-image
railties/lib/rails/generators/rails/app/templates/Dockerfile.tt
の修正です。
Dockerの最終imageに不要にnode_modules
を含まないよう修正しています。
Merge pull request #51440 from CodingItWrong/libmysql2-fix-install-error
Gemfile.lock
の修正です。
mysql2
gemを最新バージョンに更新しています。mysql-client 8.3で動作するようにするため。
Pin sqlite3 version in bug_report_templates
bug report templatesの修正です。
sqlite3
gemのバージョンを1系にロックしています。最新の2系だとbundlerでのロード時にエラーになってしまうため。
Correct typo for ActiveJob::Enqueuing::ClassMethods doc
activejob/lib/active_job/enqueuing.rb
のdocの修正です。
ActiveJob::Enqueuing::ClassMethods
moduleのdoc内のタイポを修正しています。
Allow sqlite3 to float to version 2
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
、
railties/lib/rails/generators/database.rb
の修正です。
sqlite3
gemの2系を使用出来るよう、コード内のgemのバージョン指定を修正しています。
Fix unused block warnings for template methods
actionview/lib/action_view/template.rb
の修正です。
blockを使用していないメソッドにblockを渡さないよう修正しています。
Remove outdated mathn
related test
mathn
gemがロードされている場合の為のテストを削除しています。mathn
gemはRuby本体から削除済み、かつ、gemとしてもdeprecatedになっており、考慮する必要がなくなっている為。
Action View Caching code sample syntax [ci skip]
actionview/lib/action_view/helpers/cache_helper.rb
のdocの修正です。
ActionView::CacheHelper.cache
メソッドのdoc内のexampleコードで内のコメント部分の先頭に#
を追加し、コメントである事がわかるよう修正しています。