search for: ignore_ar_events

Displaying 1 result from an estimated 1 matches for "ignore_ar_events".

2009 Dec 03
1
Ann: ArEvents
Hi, I needed to be able to add actions to be taken during the lifecycle of ActiveRecord object, but needed to configure it dynamically. Observers were not flexible enough and I ended up developing ArEvents, which lets you easily attach and detach event listeners, the events correspond to the active record callbacks. If you have an existing model, just include the ArEvents module: