I am confused about model rules about ‘safe’ and ‘unsafe’ validators
I think safe validator used to keep an atribute from user (included other validators)
anything else rejected from $_GET OR $_POST array. Right?
what is ‘unsafe’ validator and when we use it?
One more thing: supposing I have a textarea in form. ‘safe’ validator could protect my application by injection code and injection sql-queries in mysql?
if an attribute does not have any rule than it’s unsafe…
on the other side… if you have many “scenarios”… it’s faster to make a global validator for all scenarios… and then if neede just set the attribute as “unsafe” on the scenario you need…
so the "unsafe" exists just for those "special" cases… if someone needs it…