なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2024/01/07)

2024/01/07分のコミットです。

CHANGELOGへの追加はありませんでした。


Ensure type_for_attribute method docs are visible [ci-skip]

docの修正です。

public APIであるtype_for_attributeメソッドのdocがAPI docに表示されるよう修正しています。


Clean up AS::NumberHelper#number_to_phone doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_phoneのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_currency doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_currencyのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_percentage doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_percentageのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_delimited doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_delimitedのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_rounded doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_roundedのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_human_size doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_human_sizeのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Clean up AS::NumberHelper#number_to_human doc [ci-skip]

activesupport/lib/active_support/number_helper.rbのdocの修正です。

ActiveSupport::NumberHelper#number_to_humanのdocについて、フォーマットの修正やオプション毎にexampleコードを記載するよう修正、等を行っています。


Point AV::Helpers::NumberHelper method docs to AS [ci-skip]

actionview/lib/action_view/helpers/number_helper.rbのdocの修正です。

ActionView::Helpers::NumberHelper配下の各メソッドのdocについて、それぞれのdocでメソッドのオプションの説明等をしていたのを削除し、ActiveSupport::NumberHelper配下の同名のAPI docへのリンクを記載するよう修正しています。ActionView::Helpers::NumberHelper配下の各メソッドはActiveSupport::NumberHelperのメソッドのラッパーであり、オプション等は同じ内容の為。


Use separate code blocks for separate files [ci-skip]

rails guideのActive Record Associationsの修正です。

複数のファイルのコードを一つのcode blockに含んでいたのを、別のcode blockにわけています。


Fix typo [ci-skip]

rails guideのActive Record Associationsの修正です。

Controlling Association Scopeセクション内のタイポの修正を行っています。


Replace backticks with RDoc markup [ci-skip]

activerecord/lib/active_record/relation.rbのdocの修正です。

explainメソッドのdoc内のフォーマットを修正しています。


Document nonce option in stylesheet_link_tag api documentation

actionview/lib/action_view/helpers/asset_tag_helper.rbのdocの修正です。

stylesheet_link_tagメソッドのdocに:nonceオプションについての説明を追加しています。


Use Ruby 3.3 for github workflows

.github/workflowsの修正です。

CIで行っているRubocop等のチェックでRuby 3.3を使用するよう修正しています。