This gem provides support for simple filtering through associations to Sequel.
The gem is tested on PostgreSQL. It may or may not work for other databases.