diff options
author | Yuki Nishijima <mail@yukinishijima.net> | 2015-02-06 11:52:41 -0800 |
---|---|---|
committer | Yuki Nishijima <mail@yukinishijima.net> | 2015-02-07 00:14:04 -0800 |
commit | ebe73abea0ae02094ddc28f8fd60ae92373b6113 (patch) | |
tree | 23640f089bcbcd4115eae54b859770ef01f561a5 /activerecord/lib/active_record/explain_subscriber.rb | |
parent | b9ba90d59ed28c28c07b04ecdc2035b471aea881 (diff) | |
download | rails-ebe73abea0ae02094ddc28f8fd60ae92373b6113.tar.gz rails-ebe73abea0ae02094ddc28f8fd60ae92373b6113.tar.bz2 rails-ebe73abea0ae02094ddc28f8fd60ae92373b6113.zip |
NameError#missing_name? can jsut use NameError#name if the arg is a Symbol
NameError#name returns a missing name as a symbol, so if the given name
is a symbol, it doesn't have to use #missing_name to get the last constant
name in the error message.
Diffstat (limited to 'activerecord/lib/active_record/explain_subscriber.rb')
0 files changed, 0 insertions, 0 deletions