Thankfully, Sequel works around the issue by adding methods to ruby objects that you can call, which return objects that represent such SQL expressions.