Hacker News new | ask | show | jobs
by emmett 5145 days ago
composed_of is the "other half" of what I want. I don't want to use custom ruby classes, I want to use custom Postgresql types.

Turns out support for that's in 4.0 too!

https://github.com/rails/rails/pull/4775

1 comments

I'm curious to see how it works for types with multiple elements (composite types).