2017/03/17分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Add documentation to use with_options in the same class [ci skip]
activesupport/lib/active_support/core_ext/object/with_options.rb
のdocの修正です。
Object#with_options
メソッドのdocに、with_options
内で同じクラスの値を使用する場合のexampleを追加しています。
Merge pull request #28444 from budnik/patch-2
actionpack/lib/action_dispatch/testing/integration.rb
のdocの修正です。
Session#post
メソッドのdocに、メソッドの戻り値がresponse objectである旨説明が記載されていたのですが、実際はstatus codeを返すようになっていたので、その旨ドキュメントを修正しています。
Merge pull request #28421 from tangposmarvin/docs-assest-pipeline
rails guideのThe Asset Pipeline
の修正です。
Coding Links to Assets
の項、assetsを格納するディレクトリのパスに誤りがあったのを修正しています。
Cleanup documentation fixes (#28460)
actionpack/lib/action_dispatch/testing/integration.rb
、
activesupport/lib/active_support/core_ext/object/with_options.rb
のdocの修正です。
ActionDispatch::Integration::Session#post
メソッド、Object#with_options
メソッドのdocのグラマーの修正を行っています。
Bump Capybara and include Minitest::Assertions
Gemfile
、
actionpack/lib/action_dispatch/system_test_case.rb
の修正です。
Capybaraのバージョンを2.13.0
に更新、及び、ActionDispatch::SystemTestCase
クラスでCapybara::Minitest::Assertions
moduleをincludeするよう修正しています。
Capybara + Minitestの組み合わせだとAssertionsが正しく表示されない、という問題があり、最新のCapybaraでその問題が対応された為、最新のCapybaraを使用するようバージョンを更新しています。
参考:Add parity between rspec support and minitest
Add :default option to belongs_to (#28453)
Active Recordの修正です。
belongs_to
メソッドにデフォルト値を設定する為のdefault
オプションを追加しています。
belongs_to :account, default: -> { Current.account }