Sha256: d46880d3ae8ee80bb92d993427ad865c1c82da218e957e5fd9e43b1738ca4b43
Contents?: true
Size: 497 Bytes
Versions: 23
Compression:
Stored size: 497 Bytes
Contents
module Naf class LoggerName < NafBase # Protect from mass-assignment issue attr_accessible :name #--------------------- # *** Associations *** #+++++++++++++++++++++ has_many :logger_style_names, class_name: '::Naf::LoggerStyleName' has_many :logger_styles, through: :logger_style_names #-------------------- # *** Validations *** #++++++++++++++++++++ validates :name, uniqueness: true, presence: true end end
Version data entries
23 entries across 23 versions & 1 rubygems