Exception: DatabaseSchemaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/r_kit/active_record_utility/database_schema_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(base, method:) ⇒ DatabaseSchemaError

Returns a new instance of DatabaseSchemaError.



2
3
4
5
6
7
8
# File 'lib/r_kit/active_record_utility/database_schema_error.rb', line 2

def initialize base, method:;
  super %Q{
WARNING - You tried to use the '#{ method }' DSL on '#{ base }',
You may want to create a 'tag' column first.
To do so, please refer to the 'RKit::ActiveRecordUtlity' documentation.
  }
end