A slowly changing dimension Type 2 extension to ActiveRecord on PostgreSQL >= 9.3