2025/07/28分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Favor Rack and Nokogiri own documentation over rubydoc.info
rails guideの修正です。
RackとNokogiriのdocへのリンクがrubydoc.infoになっていたのを、それぞれ独自に提供しているページ(https://rack.github.io/rack/ と https://nokogiri.org/rdoc/)に修正しています。
Add relative_time_in_words
helper to ActionView
actionview/lib/action_view/helpers/date_helper.rb
の修正です。
time_ago_in_words
と同様にtimeをstringとして返す、かつ、timeが過去か未来かによってprefix/suffixを追加するrelative_time_in_words
メソッドを追加しています。
relative_time_in_words(3.minutes.from_now) # => "in 3 minutes" relative_time_in_words(3.minutes.ago) # => "3 minutes ago" relative_time_in_words(10.seconds.ago, include_seconds: true) # => "less than 10 seconds ago"
[Fix #55379] Default branch in github ci templates
railtiesの修正です。
rails new
で生成するCI用の設定で、branches
の指定がmain
固定だったのを、Gitのdefault branchの値を取得しその値を指定するよう修正しています。