Browse files

Use send in Time marshal extensions since the methods are now private

See ruby/ruby@9c1b316

All Active Support tests pass in 2.0.0preview2 after this change.
Closes #8409
  • Loading branch information...
1 parent 2797757 commit baa4d79cb101e7a65b0399b20eebd5dd5cce0cf1 @carlosantoniodasilva carlosantoniodasilva committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/time/marshal.rb
View
2 activesupport/lib/active_support/core_ext/time/marshal.rb
@@ -24,7 +24,7 @@ def _load(marshaled_time)
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

0 comments on commit baa4d79

Please sign in to comment.