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? -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
