vmg / rinku

Autolinking. Ruby. Yes, that's pretty much it.
ISC License
597 stars 67 forks source link

Prefer the source of the #h alias #96

Open olleolleolle opened 1 year ago

olleolleolle commented 1 year ago

I searched the API docs for Rails for the #h method. Turned out to be an alias to a longer-named method.

This change made my code work.

https://api.rubyonrails.org/classes/ERB/Util.html#method-c-h