module Shrine::Plugins::ValidationHelpers::AttacherClassMethods

  1. lib/shrine/plugins/validation_helpers.rb

Methods

Public Instance

  1. default_validation_messages

Public Instance methods

default_validation_messages ()
[show source]
# File lib/shrine/plugins/validation_helpers.rb, line 58
def default_validation_messages
  @default_validation_messages ||= DEFAULT_MESSAGES.merge(
    shrine_class.opts[:validation_default_messages])
end