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(" Could not find persistence adapter for \#{data_source}\n You can define it with:\n\n class \#{data_source}\n def self.granite_persistence_adapter\n \#{data_source}GraniteFormPersistenceAdapter\n end\n end\n MESSAGE\nend\n") |