Hi, There's been lots of activity in the postgresql world in the past couple years. Arrays, hstores, ranges, json, etc. AR's postgresql adapter in 4.0 will have support for mapping ruby types to custom postgresql types (https://github.com/rails/rails/pull/4775).
I've noticed that sequel, AR's postgresql adapter, and jdbc-activerecord-postgres all contain similar, but different parsers for handling those postgresql datatypes. Each of the ORMs have their own plugins for arrays, hstores, etc. https://github.com/jruby/activerecord-jdbc-adapter/blob/master/lib/arjdbc/postgresql/adapter.rb https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L119 https://github.com/jeremyevans/sequel/blob/master/lib/sequel/adapters/postgres.rb#L86 It seems like having a single gem for handling the postgresql parser code would be helpful. Maybe this could be done before ActiveRecord 4.0? Thoughts? Joe -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/rp82AGWl6U8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
