Hi!
I hve validates_uniqueness_of and validates_presence_of validations in a model called Person.They are wrkng as intended but the error is not getting displayed.(The ‘Red’ message). Any ideas?
Regards,
Swanand
Hi!
I hve validates_uniqueness_of and validates_presence_of validations in a model called Person.They are wrkng as intended but the error is not getting displayed.(The ‘Red’ message). Any ideas?
Regards,
Swanand
Hi, could you present the code that's in question?
Peace,
-Conrad
You need to display <%= error_messages_for 'user' %> or whatever your model is in your view. Otherwise, the errors are there, but they have nowhere to go.
Conrad Taylor wrote: