You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there fellow Rubyist, thanks for making this available. I noticed a difference in the way inflected handles parameterize on strings, specifically the separator.
Hey there fellow Rubyist, thanks for making this available. I noticed a difference in the way inflected handles
parameterize
on strings, specifically the separator.ActiveSupport parameterize
https://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-parameterize
parameterize(string, separator: "-", preserve_case: false)
inflected parameterize
parameterize(string, separator: "")
Example string is the name of a pet from World of Warcraft:
Lil' Ben'fon
ActiveSupport parameterize:
inflected parameterize
The text was updated successfully, but these errors were encountered: