Sequel historically supported SQL function calls using the array access operator on Symbol.
That still works on 1.8, but it doesn't on 1.9 because on 1.9 ruby defines that operator on Symbol, and Sequel doesn't override methods defined by ruby.
For portability across ruby versions, you can use the somewhat verbose sql_function method, or...