2021/05/12分のコミットです。
CHANGELOGへの追加はありませんでした。
update tests for SecureRandom.base58 method
activesupport/test/core_ext/secure_random_test.rb
の修正です。
SecureRandom.base58
メソッドのテストで値が指定の範囲内の値になっている事を確認するテストを追加しています。
Merge pull request #42195 from jhawthorn/template_path
Action Viewの修正です。
ActionView::Resolver::Path
をパスの双方向変換が出来るようリファクタリングし、ActionView::TemplatePath
に切り出しています。resolver以外でも使用出来るようにする為に、ActionView
直下に含むようにしています。
Remove duplicated test_parse_partial
actionview/test/template/template_path_test.rb
の修正です。
重複していたtest_parse_partial
テストを削除しています。
Add missing slash to test_parse_root_partial_with_slash
test_parse_root_partial_with_slash
の修正です。
pathを指定する際にslashを指定するのが漏れていたのを修正しています。
select!
and reject!
doesn't return self
unless any elements are matched
actionview/lib/action_view/template/error.rb
の修正です。
select!
、reject!
を使用しているのに戻り値を代入している箇所があったのを修正しています。
Add example for proc-based route to Routing guide
rails guideのRails Routing from the Outside In
の修正です。
Routing to Rack Applications
の項に、routingのto
オプションにProcを指定した場合のexampleを追加しています。