From 1f131fba4cf9497ee0c54bb4a51fd86ec76b76a4 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Mon, 13 Jun 2016 10:56:32 -0400 Subject: Explicitly require `acts_like` in AV This method is used in `distance_of_time_in_words` Fixes #25357 --- actionview/lib/action_view/helpers/date_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionview/lib/action_view') diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb index 9042b9cffd..04dcf01bb7 100644 --- a/actionview/lib/action_view/helpers/date_helper.rb +++ b/actionview/lib/action_view/helpers/date_helper.rb @@ -3,6 +3,7 @@ require 'action_view/helpers/tag_helper' require 'active_support/core_ext/array/extract_options' require 'active_support/core_ext/date/conversions' require 'active_support/core_ext/hash/slice' +require 'active_support/core_ext/object/acts_like' require 'active_support/core_ext/object/with_options' module ActionView -- cgit v1.2.3