Sha256: 951991c6b45f695257614deeabe965a7d4eacfae342464352da5514f328a3c71
Contents?: true
Size: 437 Bytes
Versions: 23
Compression:
Stored size: 437 Bytes
Contents
module Naf class LoggerLevel < NafBase # Protect from mass-assignment issue attr_accessible :level #--------------------- # *** Associations *** #+++++++++++++++++++++ has_many :logger_style_names, class_name: '::Naf::LoggerStyleName' #-------------------- # *** Validations *** #++++++++++++++++++++ validates :level, uniqueness: true, presence: true end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
naf-1.1.2 | app/models/naf/logger_level.rb |
naf-1.1.1 | app/models/naf/logger_level.rb |
naf-1.1.0 | app/models/naf/logger_level.rb |