module NormalizeIt::NormalizedClassMethods

Public Instance Methods

disallow_create() click to toggle source
# File lib/normalize_it.rb, line 161
def disallow_create
  errors.add :base, "Creation of #{self.class} not allowed!"
  false
end