Skip to content

Commit 1770c41

Browse files
committed
fix: make sure we eagerly compute SerializeCastValue
1 parent 9aef11e commit 1770c41

File tree

1 file changed

+1
-0
lines changed
  • lib/active_record/connection_adapters/cockroachdb/oid

1 file changed

+1
-0
lines changed

lib/active_record/connection_adapters/cockroachdb/oid/spatial.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class Spatial < Type::Value
2626
# "geometry(Polygon,4326) NOT NULL"
2727
# "geometry(Geography,4326)"
2828
def initialize(oid, sql_type)
29+
super()
2930
@sql_type = sql_type
3031
@geo_type, @srid, @has_z, @has_m = self.class.parse_sql_type(sql_type)
3132
@spatial_factory =

0 commit comments

Comments
 (0)