From baa4d79cb101e7a65b0399b20eebd5dd5cce0cf1 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 3 Dec 2012 21:45:03 -0200 Subject: Use send in Time marshal extensions since the methods are now private See https://github.com/ruby/ruby/commit/9c1b3161f20162dc1682d758c0e4d2fc3a74745e All Active Support tests pass in 2.0.0preview2 after this change. Closes #8409 --- activesupport/lib/active_support/core_ext/time/marshal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/time/marshal.rb b/activesupport/lib/active_support/core_ext/time/marshal.rb index 1bf622d6a6..497c4c3fb8 100644 --- a/activesupport/lib/active_support/core_ext/time/marshal.rb +++ b/activesupport/lib/active_support/core_ext/time/marshal.rb @@ -24,7 +24,7 @@ if Time.local(2010).zone != Marshal.load(Marshal.dump(Time.local(2010))).zone def _dump(*args) obj = dup obj.instance_variable_set('@_zone', zone) - obj._dump_without_zone(*args) + obj.send :_dump_without_zone, *args end end end -- cgit v1.2.3