Exception: Granite::Form::PersistenceAdapterMissing
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Granite::Form::PersistenceAdapterMissing
- Defined in:
- lib/granite/form/errors.rb
Instance Method Summary collapse
-
#initialize(data_source) ⇒ PersistenceAdapterMissing
constructor
A new instance of PersistenceAdapterMissing.
Constructor Details
#initialize(data_source) ⇒ PersistenceAdapterMissing
Returns a new instance of PersistenceAdapterMissing.
84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/granite/form/errors.rb', line 84 def initialize(data_source) super(<<~MESSAGE) Could not find persistence adapter for #{data_source} You can define it with: class #{data_source} def self.granite_persistence_adapter #{data_source}GraniteFormPersistenceAdapter end end MESSAGE end |