なるようになるブログ

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

rails commit log流し読み(2016/11/15)

2016/11/15分のコミットです。

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


Revert "Merge pull request #25811 from oss92/to_sentence_fallback_string"

Array#to_sentence:fallback_stringオプションを追加した、Add :fallback_string option to Array#to_sentence. If an empty array calls the function and a fallback string option is set then it returns the fallback string other than an empty string.をrevertしています。

#presence || "Fallback String"で対応出来る事なので、わざわざオプションを追加する必要は無いのでは、という事でrevertされたようです。


Fix style violations

actionpack/test/controller/parameters/parameters_permit_test.rbactiverecord/lib/active_record/define_callbacks.rbの修正です。

Hashのkey / valueの前後にスペースを追加、及び、Hashの指定にRuby 1.9形式(only: :after)を使用するよう修正しています。


Missing require string/filters for squish

actionpack/lib/action_dispatch/routing.rbの修正です。

不足していたactive_support/core_ext/string/filtersのrequireを追加しています。


Fix small typo in Layouts and Rendering guide. [ci skip]

rails guideのLayouts and Rendering in Railsの修正です。

Collection Partial Layoutsの項のタイポの修正を行っています。


remove duplicated changelog entry [ci skip]

activesupport/CHANGELOG.mdの修正です。

重複していたentryを削除しています。


remove alias_method_chain from guide [ci skip]

rails guideのActive Support Core Extensionsの修正です。

Remove deprecated method alias_method_chain · rails/rails@7c848e6で削除されたalias_method_chainをguideからも削除しています。


Make sure to bundle json 2.x on CI

Gemfileの修正です。

json gemのバージョンを2.0.0以上に固定しています。1系はRuby 2.4をサポートしておらず、Ruby 2.4でのテストがコケてしまう為。