2014/09/22分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
Document that the default for rails server -b
has changed
railties/lib/rails/commands/server.rb
、
guides/source/4_2_release_notes.md
の修正です。
rack側の対応により、rails server
はデフォルトの場合、0.0.0.0
ではなく、localhost
をlisternするようになっており、その旨 release noteへの追加及びusageの修正を行っています。
過去のバージョン同様に、0.0.0.0
をlistenしたい場合は、rails server -b 0.0.0.0
とすればOKです。
Fix assertions in AR::TestCase::AttributeMethodsTest
activerecord/test/cases/attribute_methods_test.rb
の修正です。
assert
メソッドの使い方を過っていたのを修正しています。
- assert @target, error.record - assert "hello", error.attribute - assert "unknown attribute: hello", error.message + assert_instance_of @target, error.record + assert_equal "hello", error.attribute + assert_equal "unknown attribute: hello", error.message
assert
メソッドは最初の引数がtrueかどうかを判定するので、元々の書き方だと第二引数の値に関わらずテストが通っていてしまったので、修正しています。
activesupport/test/core_ext/duration_test.rb
、
railties/test/application/configuration_test.rb
の修正です。
先程のコミット同様、assert
メソッドの使い方を修正しています。
Wrap Adequate Record release notes at 80 chars [ci skip]
guides/source/4_2_release_notes.md
の修正です。
80文字を越えている行を改行しています。
Wrap it up! :trollface: [ci skip]
guides/source/4_2_release_notes.md
の修正です。
変な箇所に改行が入ってしまっていたのを修正しています。
Remove wrapping form helpers系が生成するHTMLから Allow attaching files while the mail view is rendered Added RDoc for each Active Job adapter ActiveJobのdocの修正です。 各adapterクラスにdocを追加しています。actionview/lib/action_view/helpers/form_helper.rb
、
actionview/lib/action_view/helpers/url_helper.rb
のdocの修正です。<div>
タグが削除されたのですが、docのサンプルが修正漏れていたので、実際の出力内容に合わせる形で修正しています。
actionmailer/lib/action_mailer/base.rb
、
actionmailer/lib/action_mailer/mail_helper.rb
の修正です。ActionMailer
ののインスタンスを生成した後からattachmentsを追加した場合に、予期せぬExceptionが発生してしまっていたバグがあったのを修正しています。