Sha256: 71d3a6cf284e6e02933bb46cae58cae816222356e168423bc4292c86ff5633e9
Contents?: true
Size: 304 Bytes
Versions: 28
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module Renalware module Patients class User < ActiveType::Record[Renalware::User] has_many :bookmarks has_many :patients, through: :bookmarks def bookmark_for_patient(patient) bookmarks.find_by(patient: patient) end end end end
Version data entries
28 entries across 28 versions & 1 rubygems