diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-07 17:10:27 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-07 17:10:27 -0700 |
commit | d4cc1e33b80a546a58bcd2eaa49ea4c5e9682cbc (patch) | |
tree | abc494168d2628b89771bf600ca1d142eb4ff03e /lib/arel/visitors/visitor.rb | |
parent | 7515445966b265dd9e90ce4457bff972e1fc3746 (diff) | |
download | rails-d4cc1e33b80a546a58bcd2eaa49ea4c5e9682cbc.tar.gz rails-d4cc1e33b80a546a58bcd2eaa49ea4c5e9682cbc.tar.bz2 rails-d4cc1e33b80a546a58bcd2eaa49ea4c5e9682cbc.zip |
fix whitespace and unsupported method args
Diffstat (limited to 'lib/arel/visitors/visitor.rb')
-rw-r--r-- | lib/arel/visitors/visitor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/visitor.rb b/lib/arel/visitors/visitor.rb index 0540445088..0730c15794 100644 --- a/lib/arel/visitors/visitor.rb +++ b/lib/arel/visitors/visitor.rb @@ -19,7 +19,7 @@ module Arel end def visit object - send dispatch[object.class], object + send dispatch[object.class], object rescue NoMethodError => e raise e if respond_to?(dispatch[object.class], true) superklass = object.class.ancestors.find { |klass| |