なるようになるブログ

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

rails commit log流し読み(2015/03/05)

2015/03/05分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activerecord/CHANGELOG.md

actionpack/CHANGELOG.md


Drop request class from RouteSet constructor.

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

RouteSetクラスのコンストラクタから引数(request class)を削除しています。request classを設定したい場合、RouteSetクラスを継承したサブクラスを作成して、request_classメソッドをオーバーライドするように、との事です。


fixes documentation for returned hash in cache.fetch_multi

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

fetch_multiメソッドのdocに記載されているexampleの戻り値を修正しています。


Merge pull request #19185 from kamipo/correctly_dump_serial_and_bigserial

ActiveRecordの修正です。

serialbigserial型を使用している場合に、dumpファイルに左記型のデータが正しく出力されないバグがあったのを修正しています。


Merge pull request #19144 from y-yagi/fix_streaming_buffer

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

http streamingを使用している時にcaptureメソッドを使用した場合に、ActionView::Template::Errorが発生してしまうバグがあったのを修正しています。


Doc fix [ci skip]

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

return -> returnsにスペルミスを修正しています。


Doc fix [ci skip]

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

StringInquirerクラスのdoc内の適切な箇所にカンマを追加しています。


Doc fix [ci skip]

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

current_tagsメソッド内のdocのタイポ(void -> avoid)を修正しています。


Doc fix [ci skip]

activesupport/lib/active_support/cache/strategy/local_cache.rbのdocの修正です。

synchronizeメソッドのdocの終端が,になっていたのを.に修正しています。


Doc fix [ci skip]

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

optionsi18n_optsメソッド内のdocのグラマーの修正を行っています。


Doc fix [ci skip]

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

handle_expired_entryメソッド内のdocのタイポ(begin -> being)を修正しています。


add regression test. Closes #18400.

activerecord/test/cases/persistence_test.rbの修正です。

recordの値が変わって無い場合に、sqlが実行されない事のテストを追加しています。


Doc fix [ci skip]

actionpack/lib/action_controller/metal/conditional_get.rbのdocの修正です。

authorized -> unauthorizedにタイポを修正しています。


add ActiveRecord::Enum testcase about multiple enums declaring at a time

activerecord/test/cases/enum_test.rbの修正です。

一つのmodelに複数enumを定義した場合のテストを追加しています。


Doc fix [ci skip]

actionpack/lib/action_controller/metal/params_wrapper.rbのdocの修正です。

nameメソッドの説明内のsingularize -> singularに修正しています。


Some documentation edits [ci skip]

各docの修正です。

  • タイポの修正
  • 1行80文字に収まるよう適切な位置に改行を追加
  • 説明の書き直し 

をまとめて行っています。


Doc fix [ci skip]

actionpack/lib/action_controller/metal/http_authentication.rbのdocの修正です。

opaqueメソッドのdocの説明に誤りがあったのを修正しています。