Skip to content

Instantly share code, notes, and snippets.

@scaint
Last active May 9, 2018 14:40
Show Gist options
  • Save scaint/9913986 to your computer and use it in GitHub Desktop.
Save scaint/9913986 to your computer and use it in GitHub Desktop.
Removing "utf8=✓" from url in Rails. Put this file to app/helpers directory.
module FormTagHelper
# see http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-utf8_enforcer_tag
def utf8_enforcer_tag
''.html_safe
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment