Here’s another trick with Set::merge()…
Let’s say we’ve defined some basic validation rules in our Profile model, something like:
One example, that we often see, is something along the following lines in the controller:
[cc lang=”php”]