From 02f9f3314244513fce0a94acef08318d67d6707f Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Thu, 30 Jan 2014 11:12:46 +0100 Subject: tidy CHANGELOGs [ci skip] --- actionmailer/CHANGELOG.md | 10 ++++++---- actionpack/CHANGELOG.md | 4 ++-- actionview/CHANGELOG.md | 18 ++++++++++-------- activemodel/CHANGELOG.md | 7 +++++-- activesupport/CHANGELOG.md | 4 ++-- 5 files changed, 25 insertions(+), 18 deletions(-) diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md index c264c710f6..5a61746700 100644 --- a/actionmailer/CHANGELOG.md +++ b/actionmailer/CHANGELOG.md @@ -4,7 +4,11 @@ *Andrew White* * Add the ability to intercept emails before previewing in a similar fashion - to how emails can be intercepted before delivery, e.g: + to how emails can be intercepted before delivery. + + Fixes #13622. + + Example: class CSSInlineStyler def self.previewing_email(message) @@ -14,11 +18,9 @@ ActionMailer::Base.register_preview_interceptor CSSInlineStyler - Fixes #13622. - *Andrew White* -* Add mailer previews feature based on 37 Signals mail_view gem +* Add mailer previews feature based on 37 Signals mail_view gem. *Andrew White* diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 417847cc50..394b1473d3 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -5,13 +5,13 @@ * `:json` which is a secure wrapper on JSON using `JSON.parse` and `JSON.generate` methods with quirks mode; - * `:marshal` which is a wrapper on Marshal; + * `:marshal` which is a wrapper on Marshal; * serializer class with `load` and `dump` methods defined. For new apps `:json` option is added by default and :marshal is used when no option is specified. - *Łukasz Sarnacki + Matt Aimonetti* + *Łukasz Sarnacki*, *Matt Aimonetti* * Ensure that `request.filtered_parameters` is reset between calls to `process` in `ActionController::TestCase`. diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 960f867d99..c370f3df51 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,20 +1,20 @@ * Added `config.action_view.raise_on_missing_translations` to define whether an error should be raised for missing translations. - Fixes #13196 + Fixes #13196. *Kassio Borges* * Improved ERB dependency detection. New argument types and formattings for the `render` calls can be matched. - Fixes #13074 and #13116 + Fixes #13074, #13116. *João Britto* -* Use `display:none` instead of `display:inline` for hidden fields +* Use `display:none` instead of `display:inline` for hidden fields. - Fixes #6403 + Fixes #6403. *Gaelian Ditchburn* @@ -82,11 +82,11 @@ *Yves Senn* -* Use `set_backtrace` instead of instance variable `@backtrace` in ActionView exceptions +* Use `set_backtrace` instead of instance variable `@backtrace` in ActionView exceptions. *Shimpei Makimoto* -* Fix `simple_format` escapes own output when passing `sanitize: true` +* Fix `simple_format` escapes own output when passing `sanitize: true`. *Paul Seidemann* @@ -104,7 +104,9 @@ *Bogdan Gusiev* -* Ability to pass block to `select` helper +* Ability to pass a block to the `select` helper. + + Example: <%= select(report, "campaign_ids") do %> <% available_campaigns.each do |c| -%> @@ -184,7 +186,7 @@ * Fix default rendered format problem when calling `render` without :content_type option. It should return :html. Fix #11393. - *Gleb Mazovetskiy* *Oleg* *kennyj* + *Gleb Mazovetskiy*, *Oleg*, *kennyj* * Fix `link_to` with block and url hashes. diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md index 0148066bac..6585808fa2 100644 --- a/activemodel/CHANGELOG.md +++ b/activemodel/CHANGELOG.md @@ -18,9 +18,12 @@ *Vince Puzzella* -* `attribute_changed?` now accepts parameters which check the old and new value of the attribute +* `attribute_changed?` now accepts a hash to check if the attribute was + changed `:from` and/or `:to` a given value. - `model.name_changed?(from: "Pete", to: "Ringo")` + Example: + + model.name_changed?(from: "Pete", to: "Ringo") *Tejas Dinkar* diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 5f9591ccb1..008d71701c 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,7 +1,7 @@ -* Remove the deprecation about the `#filter` method +* Remove the deprecation about the `#filter` method. Filter objects should now rely on method corresponding to the filter type - (e.g. `#before`) + (e.g. `#before`). *Aaron Patterson* -- cgit v1.2.3