model.attribute_dirty?(name) On Apr 6, 7:51 am, Michishige Kaito <[email protected]> wrote: > Hey, > > I have a certain after :save hook that only needs to run if the resource is > #new? or a certain attribute has changed. How would I check for the dirt > state of this attribute? > > Thanks in advance, folks =)
-- 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.
