aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/proc_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-03-18 16:24:40 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-18 17:41:34 +0100
commit836ea9fb425dc012cb0f6d57fdc2d8a28fcccc05 (patch)
tree86750509ee081ca23b4e40cb19c0fa4a8adac0e6 /activesupport/test/core_ext/proc_test.rb
parentc4a7c31581c8386198317a2385f9c7d462c18497 (diff)
downloadrails-836ea9fb425dc012cb0f6d57fdc2d8a28fcccc05.tar.gz
rails-836ea9fb425dc012cb0f6d57fdc2d8a28fcccc05.tar.bz2
rails-836ea9fb425dc012cb0f6d57fdc2d8a28fcccc05.zip
`TimeWithZone` raises `NoMethodError` in proper context.
Closes #9772. `TimeWithZone` delegates everything to the wrapped `Time` object using `method_missing`. The result is that `NoMethodError` error will be raised in the context of `Time` which leads to a misleading debug output.
Diffstat (limited to 'activesupport/test/core_ext/proc_test.rb')
0 files changed, 0 insertions, 0 deletions