Module: Operations::Participant
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/operations/participant.rb
Instance Method Summary collapse
Instance Method Details
#operations_as(attribute_name) ⇒ Object
10 |
# File 'app/models/concerns/operations/participant.rb', line 10 def operations_as(attribute_name) = operations.joins(:participants).where(participants: {attribute_name: attribute_name, participant: self}) |