aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-03 21:45:03 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-03 21:45:08 -0200
commitbaa4d79cb101e7a65b0399b20eebd5dd5cce0cf1 (patch)
treefc0df7ed0463ffe01e0feb4870a7051b4519a944 /activesupport/lib/active_support/core_ext
parent2797757919e95177c42d70c178e16c88828b674a (diff)
downloadrails-baa4d79cb101e7a65b0399b20eebd5dd5cce0cf1.tar.gz
rails-baa4d79cb101e7a65b0399b20eebd5dd5cce0cf1.tar.bz2
rails-baa4d79cb101e7a65b0399b20eebd5dd5cce0cf1.zip
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
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/time/marshal.rb2
1 files changed, 1 insertions, 1 deletions
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