Login
From:
pganalyze
(Uncensored)
subscribe
Creating Custom Postgres Data Types in Rails
https://pganalyze.com/blog/custom-postgres-data-types-ruby-rails
links
backlinks
Roast topics
Find topics
Find it!
We create domain types and composite types in PostgreSQL and show how to hook into the Rails Attributes API to help instantiate them as objects that Ruby can use.