Skip to content

Commit

Permalink
more naming fixes.
Browse files Browse the repository at this point in the history
* it's Action Mailer not ActionMailer
* it's Action Pack not ActionPack
* it's Active Support not ActiveSupport

/cc @fxn
  • Loading branch information
senny committed Apr 30, 2013
1 parent d2fe723 commit 6cc1b42
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion guides/source/2_3_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ A lot of folks have adopted the notion of using try() to attempt operations on o

### Swappable Parsers for XMLmini

The support for XML parsing in ActiveSupport has been made more flexible by allowing you to swap in different parsers. By default, it uses the standard REXML implementation, but you can easily specify the faster LibXML or Nokogiri implementations for your own applications, provided you have the appropriate gems installed:
The support for XML parsing in Active Support has been made more flexible by allowing you to swap in different parsers. By default, it uses the standard REXML implementation, but you can easily specify the faster LibXML or Nokogiri implementations for your own applications, provided you have the appropriate gems installed:

```ruby
XmlMini.backend = 'LibXML'
Expand Down
2 changes: 1 addition & 1 deletion guides/source/3_0_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ Action Mailer has been given a new API with TMail being replaced out with the ne
* All mailers are now in `app/mailers` by default.
* Can now send email using new API with three methods: `attachments`, `headers` and `mail`.
* ActionMailer now has native support for inline attachments using the `attachments.inline` method.
* Action Mailer now has native support for inline attachments using the `attachments.inline` method.
* Action Mailer emailing methods now return `Mail::Message` objects, which can then be sent the `deliver` message to send itself.
* All delivery methods are now abstracted out to the Mail gem.
* The mail delivery method can accept a hash of all valid mail header fields with their value pair.
Expand Down
3 changes: 2 additions & 1 deletion guides/source/4_0_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 5 additions & 3 deletions guides/source/active_support_core_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ After reading this guide, you will know:
* What Core Extensions are.
* How to load all extensions.
* How to cherry-pick just the extensions you want.
* What extensions ActiveSupport provides.
* What extensions Active Support provides.

--------------------------------------------------------------------------------

Expand Down Expand Up @@ -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]]
Expand Down Expand Up @@ -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] } }
Expand Down
4 changes: 3 additions & 1 deletion guides/source/debugging_rails_applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6cc1b42

Please sign in to comment.