diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-11-20 22:48:08 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-11-20 22:48:08 +0530 |
commit | 26f8fb8641ee20fbda459755777acff93f3f5416 (patch) | |
tree | e5ea33c4eb90f57488a193ccccb79eb5ae41429b /activerecord/test/cases/associations/extension_test.rb | |
parent | da800614cac8b5935d0fd352af4a99d73cd13de8 (diff) | |
download | rails-26f8fb8641ee20fbda459755777acff93f3f5416.tar.gz rails-26f8fb8641ee20fbda459755777acff93f3f5416.tar.bz2 rails-26f8fb8641ee20fbda459755777acff93f3f5416.zip |
Add positional information to eval call so that this information will
be used in printing correct location where the exception occurred.
Closes #12885
- Without this the location of exception is always the line on which
'eval' is called
- But if the exception occurs in a gem outside of Rails, then that
location is not printed in stacktrace
Diffstat (limited to 'activerecord/test/cases/associations/extension_test.rb')
0 files changed, 0 insertions, 0 deletions