Module: BMC::ActiveModelCustomErrorMessages::ForErrors

Defined in:
lib/bmc/active_model_custom_error_messages.rb

Overview

Rails <= 6.0

Instance Method Summary collapse

Instance Method Details

#full_message(attribute, message) ⇒ Object



4
5
6
7
# File 'lib/bmc/active_model_custom_error_messages.rb', line 4

def full_message(attribute, message)
  return message[1..] if message[0] == "^"
  super
end