Module: Rexport::ExportFilterMethods
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/rexport/export_filter_methods.rb
Instance Method Summary collapse
Instance Method Details
#attributes_for_copy ⇒ Object
16 17 18 |
# File 'lib/rexport/export_filter_methods.rb', line 16 def attributes_for_copy attributes.slice("filter_field", "value") end |
#display_value ⇒ Object
12 13 14 |
# File 'lib/rexport/export_filter_methods.rb', line 12 def display_value filter_on_associated_object? ? associated_object_value : value end |