2015/10/20分のコミットです。
CHANGELOGへの追加はありませんでした。
added Rails 4 context for migrations:install task
rails guideのGetting Started with Engines
の修正です。
Engine setup
の項、移行のRakeコマンドはtest/dummy
ディレクトリ配下で実行する旨説明を追加しています。
Merge pull request #21987 from yui-knk/refactor_where
activerecord/lib/active_record/relation/query_methods.rb
、
activerecord/lib/active_record/relation/where_clause_factory.rb
の修正です。
Active Recordのwhere
メソッドに使用できない型のオブジェクトが渡された場合にArgumentError
をraiseするようにした対応をwhere
メソッドではなくWhereClauseFactory#build
で行うよう対応した、Move the handling of supported arguments to where
を、テストを通るよう対応し、再度コミットしています。
Merge pull request #21978 from ctreatma/console_helper_reload
railties/lib/rails/console/helpers.rb
の修正です。
helper
メソッドでApplicationController.helpers
メモ化していたのを、メモ化しないよう修正しています。
- @helper ||= ApplicationController.helpers + ApplicationController.helpers
メモ化してしまうと、console上でreload
してもhelperの結果が更新されないので、メモ化を削除したとの事です。
Delete needless require 'active_support/deprecation'
各ファイルから、不要なactive_support/deprecation
のrequire処理を削除しています。
active_support/rails
をrequireしたら、自動的にactive_support/deprecation
もrequireされる為、との事です。
[ci skip] Replace "destroymethod" with
destroyaction
rails guideのRails Routing from the Outside In
の修正です。
Resources on the Web
の項、httpのDELETE
メソッドの処理について説明している箇所の、"destroy
method"と記載していた箇所を、"destroy
action"に修正しています。
実際呼ばれるのはdestroy
メソッドなのですが、この項は、routerのアクションについて説明している箇所であり、action
の方が適切だろう、という事で修正されています。