I’ve been dealing with Postgres’ interval fields for a while and I find it super handy. One limitation I see when working with intervals in ActiveRecord though is that it handles intervals with OID::SpecializedString.
I would like to gauge the interest in casting intervals to instances of ActiveSupport::Duration instead of strings, and the introduction of a new OID::Interval to do that.