2015/06/11分のコミットです。
CHANGELOGへの追加はありませんでした。
refactor ActiveRecord's #become by simplifying code
activerecord/lib/active_record/persistence.rb
の修正です。
Persistence#becomes
メソッドでchanged_attributes
の値を取得するのに、attributes_changed_by_setter
メソッドを使用するようリファクタリングしています。
rails guideのGetting Started with Engines
の修正です。
What are engines?
の項、The two share
をThese two share
にグラマーの修正を行っています。
が、これは直後にrevertされています。 理由は後ほど。
better clarity of params source in ActionController::Base documentation [ci skip]
actionpack/lib/action_controller/base.rb
のdocの修正です。
ActionController::Base
クラスのdoc内、パラメータについて説明している箇所で、パラメータについての説明が漠然としていた箇所の説明を明確にしています。
Change the index
arg of ActionDispatch::Static#new
to a kwarg
actionpack/lib/action_dispatch/middleware/static.rb
の修正です。
ActionDispatch::Static#new
、ActionDispatch::FileHandler#new
メソッドの、先日追加された第三引数(インデックスファイルを指定する為の引数)をキーワード引数に変更しています。
今後更にメソッドの引数を追加する予定があり、引数が増える事を考えると、キーワード引数の方が解りやすいだろう、との理由で変更したようです。
rails guideのGetting Started with Engines
の修正です。
先程行われたグラマー修正をrevertしています。修正後の方がグラマーとしておかしい為との事です。