Class: ActiveRecord::InvalidGeometryType

Inherits:
ActiveRecordError
  • Object
show all
Defined in:
lib/active_record/postgresql_extensions/geometry.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidGeometryType

Returns a new instance of InvalidGeometryType.



7
8
9
# File 'lib/active_record/postgresql_extensions/geometry.rb', line 7

def initialize(type)
  super("Invalid PostGIS geometry type - #{type}")
end