From 83e4f33ea1f39f1e72b7017641f186756206c14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 2 Dec 2013 20:25:20 -0200 Subject: Make ActionView::Tags loading tread safe --- actionview/lib/action_view/helpers.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actionview/lib/action_view/helpers.rb') diff --git a/actionview/lib/action_view/helpers.rb b/actionview/lib/action_view/helpers.rb index 8a78685ae1..787e9d67b2 100644 --- a/actionview/lib/action_view/helpers.rb +++ b/actionview/lib/action_view/helpers.rb @@ -27,6 +27,12 @@ module ActionView #:nodoc: autoload :TextHelper autoload :TranslationHelper autoload :UrlHelper + autoload :Tags + + def self.eager_load! + super + Tags.eager_load! + end extend ActiveSupport::Concern -- cgit v1.2.3