Class: Helpstation::Fetchers::ActiveRecordFetcher
- Inherits:
-
ByKeyFetcher
- Object
- Evaluator
- Processor
- ByKeyFetcher
- Helpstation::Fetchers::ActiveRecordFetcher
- Defined in:
- lib/helpstation/fetchers.rb
Instance Method Summary collapse
Methods inherited from ByKeyFetcher
Methods inherited from Processor
Methods inherited from Evaluator
Constructor Details
This class inherits a constructor from Helpstation::Evaluator
Instance Method Details
#call ⇒ Object
32 33 34 35 36 |
# File 'lib/helpstation/fetchers.rb', line 32 def call super rescue ActiveRecord::RecordNotFound error("#{Inflecto.humanize(output_key)} ##{input[input_key]} not found") end |