Dear Friends,
I am using rails 2.3.8 version and I unknowingly removed
activerecord gem. I installed activerecord 2.3.8 version into my
machine. I started my application. When I give invalid input for any of
the form, errors will be thrown based on validation specifiers defined
in the model. To check this, I given invalid input. At the time, it
thrown error not with defined message, instead it displayed
{{attribute}} {{message}}. I also checked this with console. In console
also, I got the same behavior. I used inspect of Model.errors.inspect.
At the time, it contains field name with error messages correctly. But,
Model.error.full_messages isn’t working. Kindly give solution for it.
Thanks in advance.
Regards,
Vivek.