This is good news. I also got very freaked out when the required
'created_at' field was not being populated.

On 04/15/10 14:02, Yuri wrote:
> Just did a pull from git and hooks (and dm-timestamps) are working in
> app now, the lack of which led me onto the path of this self-inflicted
> confusion, hooking with :save does get them all.
>
> On Apr 15, 1:55 pm, Yuri <[email protected]> wrote:
>   
>> Should a "before :save" trigger on only foo.save or should it trigger
>> on the gamut, i.e., create, first_or_create, save, and update?
>>
>> The documentation says to me (by referring to methods) that it should
>> only work with foo.save, but debugging inside dm-timestamps, which
>> uses before :save only, made me wonder.
>>
>> If a before :save should only work with .save, is there an intended
>> approach when a before <any saving type method> is needed?
>>     

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to