Revision #12 has been created by brianvu on Sep 17, 2016, 3:19:35 PM with the memo:
Update Yii version for tutorial
« previous (#11)
"safe" and "unsafe" Model validators (massive assignments)
safe, unsafe, validators, scenarios, model
note: the first rule matches and save the attribute (for all cases even for blacklistuser scenario) but the second one overrides the first and assigns as unsaved this attribute. also κeep in mind the order of the rules is irrelevant.