Hi,

Yesterday I did a small experiment with the following code that seems
to work ok (created_on / updated_on implementation)

http://cakephp.org/pastes/show/7b93a7004474afdece1ebd35e751f14d

I don't use afterSave, but beforeValidate for two reasons:
* you can use empty($this->id) to check if we are creating/updating
* you can still have validation rules on the 'automaticly filled in
fields' (but, now thinking about it, there is probably something
conceptually wrong with this argument since it is automaticly filled
in)

For filling in the user I've been thinking indeed about somehow
accessing rdAuth. I'll have a more detailed look at your solution
tonight.

btw, is there a short comparison between rdAuth/othAuth somewhere?

Jeroen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to