posabsolute/jQuery-Validation-Engine — pull request #534 by SamJBarney (2012-11-14 21:14:43+00:00)
Title: Fixed Custom Error Messages dealing with the 'custom' and 'funcCall' rules.

The _getErrorMessage method was not creating a composite rule lookup for custom messages, such as 'custom[phone]' like it said it was in the documentation. So I whipped up this patch to make it work. Now, instead of it looking to only find the 'custom' or 'funcCall' messages, it will grab the correct composite rule message.
I added the 'delete(rules[rule_index])' on line 805 because without it, the same custom validation composite would be used for all of the custom validations following it.