From de601699ba42f01999972741c44700d4a9e6d570 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 25 Apr 2016 12:39:12 -0400 Subject: Add require of mattr_accessor since Compatibility relies on it. Follow up to https://github.com/rails/rails/commit/c9c5788a527b70d7f983e2b4b47e3afd863d9f48 --- .../lib/active_support/core_ext/date_and_time/compatibility.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport') 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. -- cgit v1.2.3