options_with_message (DataMapper::Validate::AutoValidate)

    # File lib/dm-validations/auto_validate.rb, line 12
          def options_with_message(base_options, property, validator_name)
            options = base_options.clone
            opts    = property.options

            if opts.key?(:messages)
              options[:message] = opts[:messages][validator_name]
            elsif opts.key?(:message)
              options[:message] = opts[:message]
            end

            options
          end