while creating a new row in a table called Employee if i enter
wron inputs the error page comes likes this.
11 errors prohibited this employee from being saved
There were problems with the following fields:
* Username can't be blank
* Phoneno is not a number
* Phoneno is too short (minimum is 8 characters)
* Lastname can't be blank
* Firstname is too short (minimum is 5 characters)
* Firstname can't be blank
* Emailid is invalid
* Emailid can't be blank
* Password is too short (minimum is 5 characters)
* Password can't be blank
* Please select a Role
out of this content i want to edit the
"{ 11 errors prohibited this employee from being saved
There were problems with the following fields: }" part.how to do
it.people knows it please help me.
hi julian i tried with ur code but the code stuck in second line
itself.i pasted the code in helper.rb as you said but im getting error
when executing.
the error is:
"{ undefined method `extract_options!' for ["valuecheck"]:Array
}"
here "valuecheck" => is my model's name.
im new to ror julian i dont know how to proceed with this.please help
me if u know what's wrong.