more naming fixes.
* it's Action Mailer not ActionMailer * it's Action Pack not ActionPack * it's Active Support not ActiveSupport /cc @fxn
This commit is contained in:
parent
d2fe72345a
commit
6cc1b4280e
|
@ -113,7 +113,8 @@ Please refer to the [Changelog](https://github.com/rails/rails/blob/master/activ
|
|||
|
||||
* Add `ActiveModel::ForbiddenAttributesProtection`, a simple module to protect attributes from mass assignment when non-permitted attributes are passed.
|
||||
|
||||
* Added `ActiveModel::Model`, a mixin to make Ruby objects work with ActionPack out of box.
|
||||
* Added `ActiveModel::Model`, a mixin to make Ruby objects work with
|
||||
Action Pack out of box.
|
||||
|
||||
### Deprecations
|
||||
|
||||
|
|
|
@ -2374,7 +2374,8 @@ NOTE: Defined in `active_support/core_ext/array/wrap.rb`.
|
|||
|
||||
### Duplicating
|
||||
|
||||
The method `Array.deep_dup` duplicates itself and all objects inside recursively with ActiveSupport method `Object#deep_dup`. It works like `Array#map` with sending `deep_dup` method to each object inside.
|
||||
The method `Array.deep_dup` duplicates itself and all objects inside
|
||||
recursively with Active Support method `Object#deep_dup`. It works like `Array#map` with sending `deep_dup` method to each object inside.
|
||||
|
||||
```ruby
|
||||
array = [1, [2, 3]]
|
||||
|
@ -2595,7 +2596,8 @@ NOTE: Defined in `active_support/core_ext/hash/deep_merge.rb`.
|
|||
|
||||
### Deep duplicating
|
||||
|
||||
The method `Hash.deep_dup` duplicates itself and all keys and values inside recursively with ActiveSupport method `Object#deep_dup`. It works like `Enumerator#each_with_object` with sending `deep_dup` method to each pair inside.
|
||||
The method `Hash.deep_dup` duplicates itself and all keys and values
|
||||
inside recursively with Active Support method `Object#deep_dup`. It works like `Enumerator#each_with_object` with sending `deep_dup` method to each pair inside.
|
||||
|
||||
```ruby
|
||||
hash = { a: 1, b: { c: 2, d: [3, 4] } }
|
||||
|
|
|
@ -198,7 +198,9 @@ Adding extra logging like this makes it easy to search for unexpected or unusual
|
|||
|
||||
### Tagged Logging
|
||||
|
||||
When running multi-user, multi-account applications, it’s often useful to be able to filter the logs using some custom rules. `TaggedLogging` in ActiveSupport helps in doing exactly that by stamping log lines with subdomains, request ids, and anything else to aid debugging such applications.
|
||||
When running multi-user, multi-account applications, it’s often useful
|
||||
to be able to filter the logs using some custom rules. `TaggedLogging`
|
||||
in Active Support helps in doing exactly that by stamping log lines with subdomains, request ids, and anything else to aid debugging such applications.
|
||||
|
||||
```ruby
|
||||
logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
|
||||
|
|
Loading…
Reference in New Issue