diff options
author | Federico Ravasio <ravasio.federico@gmail.com> | 2013-08-12 11:43:42 +0200 |
---|---|---|
committer | Federico Ravasio <ravasio.federico@gmail.com> | 2013-08-12 14:54:30 +0200 |
commit | cbd2111c67b1603c97c00ebbd5f6f67e4b24eebd (patch) | |
tree | 60023da2ace53110462c659cbe7420be1e4fcc0d /activerecord/test/fixtures/subscriptions.yml | |
parent | 0f834868bfd0d98c6d144543bc49c86df53e9a91 (diff) | |
download | rails-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 'activerecord/test/fixtures/subscriptions.yml')
0 files changed, 0 insertions, 0 deletions