Sha256: e93fe2459458e9c3c86b18f149cbc7eee15ac118a41180fdd5642cc87237a668
Contents?: true
Size: 264 Bytes
Versions: 27
Compression:
Stored size: 264 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 class Doctor < Person field :specialty, as: :spec has_and_belongs_to_many :users, validate: false, inverse_of: nil def specialty=(text) users.push(User.new) super end end class Doktor < Person end
Version data entries
27 entries across 27 versions & 2 rubygems