2015/03/27分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
[ci skip] Unify the code comment in ActionView::Renderer#render_template.
actionview/lib/action_view/renderer/renderer.rb
のdocの修正です。
render_template
メソッドのdocでは"Direct accessor to〜"、render_partial
メソッドのdocでは"Direct accessor to〜"と同じ内容を説明するのに、
異なる表現が使われていたのを、"Direct access to 〜"に統一しています。
Add missing :html option in determine_template error message.
actionview/lib/action_view/renderer/template_renderer.rb
の修正です。
TemplateRenderer#determine_template
メソッドに不正なオプションが渡された際に表示するエラーメッセージ内の有効なオプションの一覧から:html
オプションが漏れていたので、追加しています。
PostgreSQLのtype cast処理をruby-pg
gem 経由で行うよう修正したPRがあり、そのコミットの一部をマージしています。
ruby-pg
の方はCで書かれており、大分高速になる(簡単なベンチマークだと50% up)との事なのですが、
PRが大きすぎて一度に全部はマージ出来ないので、レビュー出来た部分から少しずつコミットしていくようにしたようです。
このコミットではOIDを内部的にintegerで管理するよう修正しています。
先のコミット同様、PostgreSQLのtype cast処理のコミットです。
独自に行っていたarray型の変換処理を、PG::TextEncoder::Array
クラスを使用するよう修正しています。
[skip ci] Update configuring.md with #18846
rails guideのConfiguring Rails Applications
の修正です。
先日追加されたconfig.active_record.warn_on_records_fetched_greater_than
についての説明を追加しています。
Merge pull request #19541 from jonatack/warn-on-loading-large-query-sets
Correct doc sentence [ci skip]
rails guideのActive Record Query Interface
の修正です。
Dynamic Finders
の項の説明内のタイポを修正しています。
Missing require 'active_support/deprecation'
activesupport/lib/active_support/callbacks.rb
、
activesupport/lib/active_support/core_ext/module/aliasing.rb
、
activesupport/lib/active_support/core_ext/module/deprecation.rb
の修正です。
ActiveSupport::Deprecation
クラスを使用しているのに、active_support/deprecation
がrequireされてなかったので、requireを追加しています。
respect pluralize_table_names
when generate fixture file. fixes #19519
railties/lib/rails/generators/named_base.rb
、
railties/lib/rails/generators/test_unit/model/model_generator.rb
の修正です。
fixture fileを作成する際、pluralize_table_names
の設定に合わせて、出力するファイル名を複数形/単数形にするよう修正しています。
[skip ci] Improve warn_on_records_fetched
documentation
activerecord/lib/active_record/core.rb
、
activerecord/lib/active_record/relation/record_fetch_warning.rb
のdocの修正です。
warn_on_records_fetched
のdocについて、
dection
->detection
に修正exceeds threshold
->exceeds the threshold
に修正- 細かなグラマーの修正
を行っています。