diff options
author | Brock Trappitt <brock.trappitt@gmail.com> | 2014-05-26 20:22:33 +0800 |
---|---|---|
committer | Brock Trappitt <brock.trappitt@gmail.com> | 2014-05-26 20:22:33 +0800 |
commit | e7f0cbbeea28718c8ff2b588cba20ccc298347bf (patch) | |
tree | ce4f689363c84137a39ca866a8a81111af17f015 /lib | |
parent | e295d61d6d4f13aee08c895751277531edb39993 (diff) | |
download | rails-e7f0cbbeea28718c8ff2b588cba20ccc298347bf.tar.gz rails-e7f0cbbeea28718c8ff2b588cba20ccc298347bf.tar.bz2 rails-e7f0cbbeea28718c8ff2b588cba20ccc298347bf.zip |
Fixing method signature for unsupported visits in the ToSQL Visitor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 22f7943ab9..28c4bd8bfa 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -715,7 +715,7 @@ module Arel quote(o, column_for(a)) end - def unsupported o + def unsupported o, collector raise "unsupported: #{o.class.name}" end |