なるようになるブログ

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

rails commit log流し読み(2017/04/17)

2017/04/17分のコミットです。

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


Bump the bundled GlobalID version.

Gemfile.lockの修正です。

globalidのバージョンを0.4.0に更新しています。


Add Puerto Rico support to ActiveSupport::TimeZone

activesupport/lib/active_support/values/time_zone.rbの修正です。

タイムゾーンの一覧にPuerto Rico(America/Puerto_Rico)を追加しています。


There are actually only 134 unique timezones.

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

ActiveSupport::TimeZoneクラスのコメントにある提供されているタイムゾーンの数が実際の数と異なっていたのを修正しています。


Small grammar fixes

rails guideのWorking with JavaScript in Railsの修正です。

各項のグラマー、フォーマットの修正をまとめて行っています。


Small grammar fix

rails guideのWorking with JavaScript in Railsの修正です。

グラマーの修正を行っています。


Fix the doc on the IndexDefinition [ci skip]

activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rbのdocの修正です。

ConnectionAdapters::IndexDefinitionクラスのdoc内のindexesメソッドが定義されているmodule名に誤りがあったのを修正しています。


Add missing word ‘to’ [ci skip]

rails guideのCreating and Customizing Rails Generators & Templatesの修正です。

Application Templatesの項のグラマーの修正を行っています。


Merge pull request #28685 from rails/smooth-form-with-upgrading

form_withメソッドのlocalオプションをconfig(config.action_view.form_with_generates_remote_forms)で指定出来るよう修正しています。 app:updateでアップデートした場合、new_framework_defaults_5_1.rbfalse(ajax通信を行わない)が指定されるようになっています。

合わせて、embed_authenticity_token_in_remote_formsのデフォルトをfalseからnilに変更しています。明示的に値が指定されてなかった場合)を"auto"として扱えるようにする(ユーザがfalseを指定した場合と区別出来るようにする)為、との事です。