lib/bureaucrat/fields.rb
# Default error messages for this kind of field. Override on subclasses to add or replace messages
Default error messages for this kind of field. Override on subclasses to add or replace messages
Default error messages for this kind of field . Override on subclasses to add or replace messages
def default_error_messages
        {
          required: 'This field is required',
          invalid: 'Enter a valid value'
        }
      end
def default_error_messages { required : 'This field is required' , invalid : 'Enter a valid value' } end
Default error messages for this kind of field.
Default error messages for this kind of field .