Guarda basta che modifiche il file prototype.js che è presento nella cartella js. Devi trovare le righe:
codice:
inspect: function() {
return ‘[’ + this.map(Object.inspect).join(’, ‘) + ‘]’;
}
e le devi cambiare in
codice:
inspect: function() {
return ‘-’ + this.map(Object.inspect).join(’, ‘) + ‘-’;
}
pertanto adesso basterà sostituire '[' con '-' e non avrai più problemi di validazione.
Spero d'esser stato abbastanza chiaro.