Hi Kevin, My mailer works fine becuase i can deliver emails for "forgoten password" and "activation".
But i need to know how to use after_callback in hobo! Is the same in "rails way": I searched for a way to use callbacks in hobo but i don't know if i was searching wrongly but i could not get it! That's when i found lifecycles. Well Kevin once again thanks if you could give me that tip! Edson On Feb 11, 7:19 pm, kevinpfromnm <[email protected]> wrote: > I guess I'm not 100% clear on what you're trying to do here. I took what > you originally wrote as every time a ticket changes (including new tickets), > notify everyone. The lifecycle you posted makes it look like you want on > specific transitions. > > If you want every change of a ticket to email your user list, you want an > after_save callback. If not, need clarification on what your goal behavior > for this process is. > > More of a general thing, you can test new code like this pretty easily with > the console. Make sure the mailer works first, then work your way upward > from there. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
