netzke/netzke-basepack — pull request #75 by firemind (2012-12-12 11:17:23+00:00)
Title: Add support for validation errors on before_destroy

By returning false from a before_destroy hook the deletion can be prevented. Yet currently netzke would still display "Deleted n records" even if the delete failed.

These changes return the validation error messages as netzke_feedback.

PS: The fix is just for 0-7. I'll submit a pull request for 0-8 as soon as I have the test env set up for it.