rails/rails — pull request #9774 by senny (2013-03-18 15:26:57+00:00)
Title: `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.