aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJason Frey <fryguy9@gmail.com>2016-04-25 12:39:12 -0400
committerJason Frey <fryguy9@gmail.com>2016-04-25 12:39:12 -0400
commitde601699ba42f01999972741c44700d4a9e6d570 (patch)
treef4f94747a1bb479db9a65a9628f6f828ea97b946 /activesupport
parente007afd3cd7255c752fe8ab7fa24b59526ab95cb (diff)
downloadrails-de601699ba42f01999972741c44700d4a9e6d570.tar.gz
rails-de601699ba42f01999972741c44700d4a9e6d570.tar.bz2
rails-de601699ba42f01999972741c44700d4a9e6d570.zip
Add require of mattr_accessor since Compatibility relies on it.
Follow up to https://github.com/rails/rails/commit/c9c5788a527b70d7f983e2b4b47e3afd863d9f48
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb b/activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb
index 59aa3ccac2..19e596a144 100644
--- a/activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb
+++ b/activesupport/lib/active_support/core_ext/date_and_time/compatibility.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/module/attribute_accessors'
+
module DateAndTime
module Compatibility
# If true, +to_time+ preserves the timezone offset of receiver.