method

message

rails latest stable - Class: ActiveRecord::Error

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

message()
public

No documentation available.

# File activerecord/lib/active_record/validations.rb, line 29
    def message
      # When type is a string, it means that we do not have to do a lookup, because
      # the user already sent the "final" message.
      type.is_a?(String) ? type : generate_message(default_options)
    end