Module: Renalware::PatientTransplantScopes
- Defined in:
- app/models/concerns/renalware/patient_transplant_scopes.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
11 12 13 14 15 |
# File 'app/models/concerns/renalware/patient_transplant_scopes.rb', line 11 def self.extended(base) base.ransacker :transplant_registration_status do Arel.sql("transplant_registration_status_descriptions.name") end end |
Instance Method Details
#with_registration_statuses ⇒ Object
7 8 9 |
# File 'app/models/concerns/renalware/patient_transplant_scopes.rb', line 7 def with_registration_statuses merge(Transplants::Patient.with_registration_statuses) end |