Sequel 3.37.0 Released
A pg_range extension has been added, making it easy to deal with PostgreSQL 9.2+'s range types. As ruby's Range class does not support all PostgreSQL range type values (such as empty ranges, unbounded ranges, or ranges with an exlusive beginning), range types are returned as instances of Sequel::Postgres::PGRange, which has an API similar to Range. You can turn a PGRange into a Range using PGRange#to_range, assuming that the range type value does not use features that are incompatible with ruby's Range class. The pg_range extension supports all range types supported by default in PostgreSQL 9.2, and makes it easy to support custom range types.
Full article:
http://sequel.rubyforge.org/rdoc/files/doc/release_notes/...