aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrock Trappitt <brock.trappitt@gmail.com>2014-05-26 20:22:33 +0800
committerBrock Trappitt <brock.trappitt@gmail.com>2014-05-26 20:22:33 +0800
commite7f0cbbeea28718c8ff2b588cba20ccc298347bf (patch)
treece4f689363c84137a39ca866a8a81111af17f015 /lib
parente295d61d6d4f13aee08c895751277531edb39993 (diff)
downloadrails-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.rb2
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