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.
