提交 a7621d7d 编写于 作者: Y Yves Senn

formatting pass over CHANGELOGs. [ci skip]

上级 ea1d3d98
......@@ -30,7 +30,7 @@
*Josef Šimánek*
* Remove `ActionController::HideActions`
* Remove `ActionController::HideActions`.
*Ravil Bayramgalin*
......
* 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
......
* 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.
......
* 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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册