Exception: DatabaseSchemaError
- Defined in:
- lib/r_kit/active_record_utility/database_schema_error.rb
Instance Method Summary collapse
-
#initialize(base, method_name:) ⇒ DatabaseSchemaError
constructor
TODO: does that class already exists ??? TODO: allow to send a custom message, that will replace 2° & 3° lines.
Constructor Details
#initialize(base, method_name:) ⇒ DatabaseSchemaError
TODO: does that class already exists ??? TODO: allow to send a custom message, that will replace 2° & 3° lines
4 5 6 7 8 9 10 |
# 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 |