[Solar-talk] Working with hashes (MD5) and column updates

Raymond Kolbe rkolbe at gmail.com
Thu Jan 3 16:24:54 CST 2008


> We need a way to dynamically add more filters to the record form, so
> that on save() both model and non-model filters are called on the same
> request, and all errors appear at once.
>
> -- rodrigo
> _______________________________________________
> Solar-talk mailing list
> Solar-talk at lists.solarphp.com
> http://mailman-mail3.webfaction.com/listinfo/solar-talk
>


If we are still on the subject of saving/making the MD5 hash, couldn't we
solve this by ONLY checking validation on cols that are going to be
updated/inserted only? 1) It would be quicker to update the record because
not all cols need filters/validation run on them. Also, does it make sense
to run all filters in the model on the record if you are only updating
something such as the user's email address in their record? I would think
that running the filters only on the data that is to be changed makes sense.

And thus, this would solve the sanitizeMD5 issue ;-) Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-talk/attachments/20080103/175b3319/attachment.html


More information about the Solar-talk mailing list