rails/rails — pull request #11848 by razielgn (2013-08-12 09:24:07+00:00)
Title: Raise an extended version of NoMethodError in AS::TimeWithZone.

An error message can vary across Ruby implementations. This fix ensures an enhanced version of NoMethodError is raised, so that it can be inspected properly, instead of relying on the varying message.

Fixes issues with Rubinius and possibly JRuby.

/cc @dbussink @headius