3 ms·
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
by emmett 14y 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 https://github.com/rails/rails/pull/4775
- joevandyk 14y agoI'm curious to see how it works for types with multiple elements (composite types).