Sha256: 77d7056802fde75e5dde25f6bc1e302e8942cd2e944612e6294cc687788472fd
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
class Cid < ApplicationRecord has_many :diagnosticos has_many :consultas, through: :diagnosticos has_many :hipoteses has_many :quadros, through: :hipoteses def codigo_nome return "#{self.codigo} - #{self.nome}" end def to_s return "#{self.codigo} - #{self.nome}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | app/models/cid.rb |