aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2016-06-13 10:56:32 -0400
committerSean Griffin <sean@seantheprogrammer.com>2016-06-13 10:57:03 -0400
commit1f131fba4cf9497ee0c54bb4a51fd86ec76b76a4 (patch)
treeef6513bbf1cc0ab0b12636ef299383948697100e
parent2806203f10301d484ecc830131da476afe80779c (diff)
downloadrails-1f131fba4cf9497ee0c54bb4a51fd86ec76b76a4.tar.gz
rails-1f131fba4cf9497ee0c54bb4a51fd86ec76b76a4.tar.bz2
rails-1f131fba4cf9497ee0c54bb4a51fd86ec76b76a4.zip
Explicitly require `acts_like` in AV
This method is used in `distance_of_time_in_words` Fixes #25357
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb1
1 files changed, 1 insertions, 0 deletions
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