diff options
-rw-r--r-- | actionpack/CHANGELOG.md | 2 | ||||
-rw-r--r-- | activejob/CHANGELOG.md | 8 | ||||
-rw-r--r-- | activerecord/CHANGELOG.md | 4 | ||||
-rw-r--r-- | activesupport/CHANGELOG.md | 4 |
4 files changed, 12 insertions, 6 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 313ac63fab..6cd0b2d15d 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -30,7 +30,7 @@ *Josef Šimánek* -* Remove `ActionController::HideActions` +* Remove `ActionController::HideActions`. *Ravil Bayramgalin* diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 829b1c719b..794d05d1b4 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,5 +1,7 @@ * Add `:only` option to `assert_enqueued_jobs`, to check the number of times - a specific kind of job is enqueued: + a specific kind of job is enqueued. + + Example: def test_logging_job assert_enqueued_jobs 1, only: LoggingJob do @@ -14,7 +16,9 @@ Since `ActiveJob::Base#deserialize` can be overridden by subclasses (like `ActiveJob::Base#serialize`) this allows jobs to attach arbitrary metadata - when they get serialized and read it back when they get performed. Example: + when they get serialized and read it back when they get performed. + + Example: class DeliverWebhookJob < ActiveJob::Base def serialize diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 9592ff7030..c677c41727 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,6 +1,6 @@ * Remove support for the `protected_attributes` gem. - *Carlos Antonio da Silva + Roberto Miranda* + *Carlos Antonio da Silva*, *Roberto Miranda* * Fix accessing of fixtures having non-string labels like Fixnum. @@ -278,7 +278,7 @@ This option enables to define the column name of associated object's type for polymorphic associations. - *Ulisses Almeida, Kassio Borges* + *Ulisses Almeida*, *Kassio Borges* * Remove deprecated behavior allowing nested arrays to be passed as query values. diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index a7306c2cae..f60689b2b5 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,6 +1,6 @@ * Add `SecureRandom.base58` for generation of random base58 strings. - *Matthew Draper + Guillermo Iguaran* + *Matthew Draper*, *Guillermo Iguaran* * Add `#prev_day` and `#next_day` counterparts to `#yesterday` and `#tomorrow` for `Date`, `Time`, and `DateTime`. @@ -109,6 +109,8 @@ * Add support for error dispatcher classes in `ActiveSupport::Rescuable`. Now it acts closer to Ruby's rescue. + Example: + class BaseController < ApplicationController module ErrorDispatcher def self.===(other) |