Exception: DatabaseSchemaError
- Defined in:
- lib/r_kit/active_record_utility/database_schema_error.rb
Instance Method Summary collapse
-
#initialize(base, method_name:) ⇒ DatabaseSchemaError
constructor
A new instance of DatabaseSchemaError.
Constructor Details
#initialize(base, method_name:) ⇒ 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_name:; super %Q{ WARNING - 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 |