{"action":"opened","issue":{"url":"https://api.github.com/repos/dejan/auto_html/issues/159","labels_url":"https://api.github.com/repos/dejan/auto_html/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/dejan/auto_html/issues/159/comments","events_url":"https://api.github.com/repos/dejan/auto_html/issues/159/events","html_url":"https://github.com/dejan/auto_html/issues/159","id":104337805,"number":159,"title":"NameError: uninitialized constant HTML after upgrading to Rails 4.2.4","user":{"login":"dgilperez","id":264590,"avatar_url":"https://avatars.githubusercontent.com/u/264590?v=3","gravatar_id":"","url":"https://api.github.com/users/dgilperez","html_url":"https://github.com/dgilperez","followers_url":"https://api.github.com/users/dgilperez/followers","following_url":"https://api.github.com/users/dgilperez/following{/other_user}","gists_url":"https://api.github.com/users/dgilperez/gists{/gist_id}","starred_url":"https://api.github.com/users/dgilperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgilperez/subscriptions","organizations_url":"https://api.github.com/users/dgilperez/orgs","repos_url":"https://api.github.com/users/dgilperez/repos","events_url":"https://api.github.com/users/dgilperez/events{/privacy}","received_events_url":"https://api.github.com/users/dgilperez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T19:33:19Z","updated_at":"2015-09-01T19:33:19Z","closed_at":null,"body":"Hi!\r\n\r\nI'm seeing a `NameError: uninitialized constant HTML` exception when persisting models with \r\n\r\n    auto_html_for :body do\r\n      sanitize\r\n    end\r\n\r\nThat leads me to think that [this line](https://github.com/dejan/auto_html/blob/27a3c7e52bff0a67bf9e4166db03181429157057/lib/auto_html/filters/sanitize.rb#L4) is the cause of the problem. \r\n\r\nThis happens only after upgrading to Rails 4.2.3, it was working before that with Rails 4.1. Gem version auto_html (1.6.4).\r\n\r\nThanks!\r\n"}}