I added a when to type_for_activerecord_value, following the pattern used for Uuid.
Tests
I didn't because I don't believe there's an established way in the test suite to test against Postgres directly. I verified this worked in our app that has a Cidr column.
Motivation
1837 This adds types for
cidr
columnsImplementation
I added a
when
totype_for_activerecord_value
, following the pattern used forUuid
.Tests
I didn't because I don't believe there's an established way in the test suite to test against Postgres directly. I verified this worked in our app that has a
Cidr
column.