Class: ActiveRecord::InvalidForeignKeyAction

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(action) ⇒ InvalidForeignKeyAction

Returns a new instance of InvalidForeignKeyAction.



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

def initialize(action)
  super("Invalid foreign key action - #{action}")
end