How I can log to a file validation errors of models ?
I want to have a custom log file, where validation errors are logged when I play in development mode with my application.
What is the best option to achieve that ?
Is monkey patching of the save method a good idea ? Or have You some better way to do that ?