aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/timezones_test.rb
diff options
context:
space:
mode:
authorChris LaRose <cjlarose@gmail.com>2019-03-06 17:25:28 -0800
committerChris LaRose <cjlarose@gmail.com>2019-03-06 17:32:03 -0800
commitc03a50ade38865d77d87f60f4a4d7824277ad071 (patch)
tree9e27f4db8dbd9b32c08d71da5e0770ebba1f6ab9 /activejob/test/cases/timezones_test.rb
parent21703382393c87212c27c988420ee5c133c1aa9f (diff)
downloadrails-c03a50ade38865d77d87f60f4a4d7824277ad071.tar.gz
rails-c03a50ade38865d77d87f60f4a4d7824277ad071.tar.bz2
rails-c03a50ade38865d77d87f60f4a4d7824277ad071.zip
Explicitly require rails-html-sanitizer gem in ActionText helpers
If the [`action_text.helper` initializer][0] runs after `ActionController::Base` has been loaded, but before the `rails-html-sanitizer` gem has been `require`d, then the reference to the constant `Rails::Html` in the body of the `ActionText::ContentHelper` module raises an `uninitialized constant` exception. [0]: https://github.com/rails/rails/blob/21703382393c87212c27c988420ee5c133c1aa9f/actiontext/lib/action_text/engine.rb#L31-L35
Diffstat (limited to 'activejob/test/cases/timezones_test.rb')
0 files changed, 0 insertions, 0 deletions