Sha256: b3b2aa96c3c84c6dbd6cdd2dd8fb78ec0b1a8cc981f3731e4bab710f58ef34cb
Contents?: true
Size: 229 Bytes
Versions: 1
Compression:
Stored size: 229 Bytes
Contents
class Exame < ApplicationRecord has_paper_trail belongs_to :consulta belongs_to :tipo_exame accepts_nested_attributes_for :tipo_exame, :allow_destroy => true def paciente return self.consulta.paciente end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | app/models/exame.rb |