Class: Renalware::Research::StudyParticipantsQuery
- Inherits:
-
Object
- Object
- Renalware::Research::StudyParticipantsQuery
- Defined in:
- app/models/renalware/research/study_participants_query.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/models/renalware/research/study_participants_query.rb', line 11 def call search.result end |
#search ⇒ Object
15 16 17 |
# File 'app/models/renalware/research/study_participants_query.rb', line 15 def search study.participants.joins(:patient).eager_load(:patient).ransack() end |