aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/descendants_tracker_test_cases.rb
diff options
context:
space:
mode:
authorFederico Ravasio <ravasio.federico@gmail.com>2013-08-12 11:43:42 +0200
committerFederico Ravasio <ravasio.federico@gmail.com>2013-08-12 14:54:30 +0200
commitcbd2111c67b1603c97c00ebbd5f6f67e4b24eebd (patch)
tree60023da2ace53110462c659cbe7420be1e4fcc0d /activesupport/test/descendants_tracker_test_cases.rb
parent0f834868bfd0d98c6d144543bc49c86df53e9a91 (diff)
downloadrails-cbd2111c67b1603c97c00ebbd5f6f67e4b24eebd.tar.gz
rails-cbd2111c67b1603c97c00ebbd5f6f67e4b24eebd.tar.bz2
rails-cbd2111c67b1603c97c00ebbd5f6f67e4b24eebd.zip
Rely on NoMethodError#name when deciding to raise DelegationError.
Different Ruby implementations present backtraces differently, as it should be an information consumed by humans. A better implementation should use data from the error, in this case returned by NoMethodError#name. Fixes issues with Rubinius, which presents backtraces differently from MRI.
Diffstat (limited to 'activesupport/test/descendants_tracker_test_cases.rb')
0 files changed, 0 insertions, 0 deletions