Topic: Triggers, automations, macros, events

I have huge issue. To be short, question is: How to build automation (or triggers) for my application, save them to database and call when condition is true.

Longer:

Tickets system have that feature.

Customer opens new ticket, system (after_create, update) probably calls trigger model and do some actions based on conditions. How to prepare tables, saving conditions and actions etc? Biggest question is how to compare what happened with model (action, attributes) so I can run actions based on changes.

Is there any sample or something so I can check on my own.

Re: Triggers, automations, macros, events

Even your "longer" explanation is really vague.  Can you provide a specific detailed example of one of the things you want to do?

###########################################
#If i've helped you then please recommend me at Working With Rails:
#http://www.workingwithrails.com/person/ … i-williams