Zizaco/confide — pull request #311 by gabrielalmeida (2014-07-15 08:33:17+00:00)
Title: Improve UserValidator default behavior

`UserValidator` present design doesn't provide good UX practices and easy client-side validation via
`$user->errors`.

It overwrites `$user->errors` each time `UserValidator->attachErrorMsg()` method runs, providing only 'one' error at time, instead of all of them, making user progress at completing unvalidated fields slower and unintelligent.

It also doesn't follow `MessageBag` default behavior, which is a key corresponding to input names/model attributes and its respective value. It actually adds a MessageBag with `confide` key, so client-side validation by matching keys from `$user->errors` isn't possible..

Note that `UserValidator->ValidateIsUnique()` method still showing only first error but now exports correct error key to `$user->errors`. Unity test to `UserValidator->attachErrorMsg()` should be updated if merged.