Hi Everyone,
Is there a gem plugins that can customize the built-in error messages that we are seeing when there's an error an ActiveRecord?
I am referring on this message
"7 errors prohibited this RECORD from being saved"
Hi Everyone,
Is there a gem plugins that can customize the built-in error messages that we are seeing when there's an error an ActiveRecord?
I am referring on this message
"7 errors prohibited this RECORD from being saved"
Haven't seen a plugin like that. Though you could rather easily create your own partial to do this by accessing the errors directly through
Ok.. After a few 'google' session, I finally found this solution and I hope it will helps you out there.
Insert this block of code on your application_helper.rb (found on app/helper)