Permalink
Browse files

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]
  • Loading branch information...
1 parent 5d5b7c5 commit 9efab213d29adcc708cc08e8f45933223900fc70 @stevenharman stevenharman committed Apr 11, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 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`.

0 comments on commit 9efab21

Please sign in to comment.