Class: ActiveRecord::InvalidMatchType

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidMatchType

Returns a new instance of InvalidMatchType.



13
14
15
# File 'lib/active_record/postgresql_extensions/constraints.rb', line 13

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