2016/08/24分のコミットです。
CHANGELOGへの追加はありませんでした。
actionpack/lib/action_controller/metal/implicit_render.rb
の修正です。
ActionController::ImplicitRender#default_render
メソッド内で指定されたテンプレートファイルが存在しない、かつ、ブラウザからのアクセスだった場合に表示するエラーメッセージ内に不要な"…"があったのを削除しています。
Merge pull request #26259 from riseshia/patch-1
rails guideのRuby on Rails 5.0 Release Notes
の修正です。
重複しているエントリーの削除、フォーマットの修正等を行っています。
Merge pull request #26258 from kamipo/remove_unnecessary_format_string
activerecord/lib/active_record/schema_dumper.rb
の修正です。
Remove the SchemaDumper options and change the default behaviorでschema.rbの自動整形(引数や型の長さによるスペースの調整)をしなくなった事により、不要になった処理をActiveRecord::SchemaDumper.tables
から削除しています。
Rename the title of comand_line.md in index
guides/source/documents.yaml
の修正です。
The Rails Command Line
guideのタイトルをRails Command Line Tools and Rake Tasks
からThe Rails Command Line
に変更しています。
Rails 5.0からRake
コマンドは使用しなくなった(Railsコマンドにマージされた)為、タイトルにRake Tasks
と入っているのはおかしいのでは、という事で変更されています。
Merge pull request #26182 from bogdan/remove-relation-metaprogramming
Active Recordの修正です。
ActiveRecord::Relation
からquery attributesの設定をする際、send
を使ってメソッドを直接呼び出していたのを、設定及び取得を行う為のメソッド(#set_value
、#get_value
)を追加し、そちらを使用して処理を行うよう修正しています。
Test that AR query cache isn't busted when types are not same object
activerecord/test/cases/query_cache_test.rb
の修正です。
typesの情報がresetした場合も、query cacheがそのまま使用出来る事を確認するテストを追加しています。