Mar 17, 2009
Probably watching too many RoR demos lately
Not sure why, but this ActiveRecord thing appealed to me and so i wrote a short behavior (nothing to release, really..) that kinda emulates RoR a little more… However, i think this is something for the bin. Or does anyone see a need or benefit of something like this: $this->User->find('first'); pr ($this->User->record); // has the full record $this->User->record->username =... read more
Mar 14, 2009
Model::save blacklist – in reply to teknoid
It’s not that i did not know what else to post, but here’s a more general approach for those who like using blackList over whiteList when tighten up save() calls. This post is ment as follow up to the one teknoid posted. Instead of doing the array_diff stuff in your controller, you could do it in the model (respectively, all models). So here it goes. I made the $blackList part optional, but... read more

