Hi everyone, in my way of trying to find a solution to my problem, I edited the stackoverflow thread and added a basic example. A web application (ASP.NET MVC 2), with AR. My models inherit from ActiveRecordValidationBase<T>. Notice the behavior when you try to edit an existing record (maybe a role) and leaves the field blank then click Submit. Instead of being treated by catch, he throws no exception and ends up giving error at the end of the request when it is not possible to "treat".
stackoverflow thread: http://stackoverflow.com/questions/6050728/activerecordvalidationbaset-not-throwing-activerecordvalidationexception-on-sav Thanks! -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
