class DatabaseSchemaError

Public Class Methods

new(base, method_name:;) click to toggle source

TODO: does that class already exists ??? TODO: allow to send a custom message, that will replace 2° & 3° lines

Calls superclass method
# File lib/r_kit/active_record_utility/database_schema_error.rb, line 4
  def initialize base, method_name:;
    super %Q{
DatabaseSchemaError: You tried to use the '#{ method_name }' DSL on '#{ base }',
  Your database is not ready for it yet,
  You can refer to the 'RKit::ActiveRecordUtlity' documentation.
    }
  end