2014/07/02分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
makes it sound less misleading
actionpack/lib/action_dispatch/http/request.rb
の修正です。
xml_http_request?
メソッドのdocの修正をしています。説明を修正しています。
Merge pull request #15970 from lengarvey/add_configuration_option_for_mail_preview
actionmailer/lib/action_mailer/preview.rb
、actionmailer/lib/action_mailer/railtie.rb
の修正です。
configにconfig.action_mailer.preview_enabled
追加しています。
元々Action Mailer Previewはdevelopmentでしか見れなかったのです、このオプションを設定する事で、development意外のenvでもPreviewを確認出来るようになりました。便利。
Rename preview_enabled option to show_previews
直ぐ上のコミットでマージされた、preview_enabled
がshow_previews
に名前が変わっています。
Add regression tests for keys on nested associations
activerecord/test/cases/reflection_test.rb
の修正です。
nested associationsのテストケースを追加しています。
do not hold on to a stale connection object. fixes #15998
activerecord/lib/active_record/migration.rb
の修正です。
このコミット以来、SQLite3を使用している際に、rails server
がエラーになっていたバグを対応しています。
connection objectを保持するよう対応されていたのですが、connectionがcloseしてしまうケースがあり、エラーになってしまっていたのを対応しています。
Tiny follow-up to #15987 and 088b4c3e [ci skip]
activerecord/lib/active_record/inheritance.rb
のdocの修正です。
不要なスペースの削除、インデントの整理等。
Revert "Merge pull request #15394 from morgoth/fix-automatic-maintaining-test-schema-for-sql-format"
Fixed automatic maintaining test schema to properly handle sql structure schema format.をrevertしています。
むう。revertの理由が良く解らない…。
Don't error when dup
ing a record with no PK
activerecord/lib/active_record/attribute_set.rb
の修正です。
reset
メソッドを追加しています。PKの無いレコードをdupするとエラーになっていたのを対応しています。
Merge pull request #16007 from nishantmodak/flash_msg_as_string
actionpack/lib/action_dispatch/middleware/flash.rb
のdocの修正です。
flash
にobjectが渡せるとdocに記載されていたのですが、実際渡せるのはprimitive-types (String, Array, Hash) だけなので、その旨説明を修正しています。