Skip to content

Commit

Permalink
reminder for helper Module in CHANGELOG for helper [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 8, 2020
1 parent 5ffccfa commit 8609a2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions actionpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
* The +helper+ class method for controllers loads helper modules specified as
strings/symbols with `String#constantize` instead of `require_dependency`.

Remember that support for strings/symbols is only a convenient API. You can
always pass a module object:

```ruby
helper UtilsHelper
```

which is recommended because it is simple and direct. When a string/symbol
is received, `helper` just manipulates and inflects the argument to obtain
that same module object.

*Xavier Noria*, *Jean Boussier*

* Correctly identify the entire localhost IPv4 range as trusted proxy.
Expand Down

0 comments on commit 8609a2d

Please sign in to comment.