Sha256: da34443029ee99c5635289760de45c422ad6b4f9e9c0598102f64fa9d1f98313
Contents?: true
Size: 273 Bytes
Versions: 28
Compression:
Stored size: 273 Bytes
Contents
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