Sha256: f447a24a8e5e697703d7dbe821447e454d052bf98fa4aaa77f5573bd3eae31ea
Contents?: true
Size: 381 Bytes
Versions: 100
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/research" require "attr_extras" module Renalware module Research class StudyParticipantsQuery pattr_initialize [:study!, :options!] def call search.result end def search study.participants.joins(:patient).eager_load(:patient).ransack(options) end end end end
Version data entries
100 entries across 100 versions & 1 rubygems