Newer
Older
dmpopidor / app / models / concerns / validation_messages.rb
@Bodacious Bodacious on 25 Jul 2018 197 bytes Add extra validations for all models
module ValidationMessages
  # frozen_string_literal: true

  PRESENCE_MESSAGE = _("can't be blank")

  UNIQUENESS_MESSAGE = _("must be unique")

  INCLUSION_MESSAGE = _("isn't a valid value")

end