aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
diff options
context:
space:
mode:
authorSteven Harman <steven@harmanly.com>2014-04-11 15:49:43 -0400
committerSteven Harman <steven@harmanly.com>2014-04-11 15:49:43 -0400
commit9efab213d29adcc708cc08e8f45933223900fc70 (patch)
tree2cc27751d798746d2cb5eb21dc54e237146167f3 /guides/source/active_support_core_extensions.md
parent5d5b7c56ac272a38bfbdf552906dcefb43ddc5c2 (diff)
downloadrails-9efab213d29adcc708cc08e8f45933223900fc70.tar.gz
rails-9efab213d29adcc708cc08e8f45933223900fc70.tar.bz2
rails-9efab213d29adcc708cc08e8f45933223900fc70.zip
Use path where extensions are defined, not used
For consistency with all other documentation, point to where these core extensions are defined, not where the example code comes from. [ci skip]
Diffstat (limited to 'guides/source/active_support_core_extensions.md')
-rw-r--r--guides/source/active_support_core_extensions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 5698dc0413..aa844f8fd1 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -2920,7 +2920,7 @@ NOTE: Defined in `active_support/core_ext/hash/indifferent_access.rb`.
### Compacting
-The methods `compact` and `compact!` return a Hash without items with `nil` value.
+The methods `compact` and `compact!` return a Hash without items with `nil` value.
```ruby
{a: 1, b: 2, c: nil}.compact # => {a: 1, b: 2}
@@ -3847,7 +3847,7 @@ rescue NameError => e
end
```
-NOTE: Defined in `actionpack/lib/abstract_controller/helpers.rb`.
+NOTE: Defined in `active_support/core_ext/name_error.rb`.
Extensions to `LoadError`
-------------------------
@@ -3870,4 +3870,4 @@ rescue NameError => e
end
```
-NOTE: Defined in `actionpack/lib/abstract_controller/helpers.rb`.
+NOTE: Defined in `active_support/core_ext/load_error.rb`.