Module: NormalizeIt::NormalizedClassMethods
- Defined in:
- lib/normalize_it.rb
Instance Method Summary collapse
Instance Method Details
#disallow_create ⇒ Object
161 162 163 164 |
# File 'lib/normalize_it.rb', line 161 def disallow_create errors.add :base, "Creation of #{self.class} not allowed!" false end |