Class: ActiveRecordView::Engines::Missing
- Defined in:
- lib/active_record_view/engines.rb
Overview
when no engines are found, we try to call record as a last-effort
Instance Method Summary collapse
Methods inherited from Base
Methods included from RecordIdentifier
#active_record_name_for, #demodulized_class_name, #dom_class, #dom_id, #partial_path, #plural_class_name, #singular_class_name
Constructor Details
This class inherits a constructor from ActiveRecordView::Engines::Base
Instance Method Details
#value(record, column = @column, view = @view) ⇒ Object
63 64 65 |
# File 'lib/active_record_view/engines.rb', line 63 def value(record, column = @column, view = @view) record[column] end |