Forum: Ruby on Rails Custom Active Record Callbacks?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Chris Bruce (Guest)
on 2006-06-13 20:13
(Received via mailing list)
Is it possible to create a custom callback for my active record model?

For example, if I have a model with an approve method, I would like a
callback for that method so that I can have my observer send out email
notifications when the model is approved.

Any ideas on the best way to do this?  Should I be trying to use a
custom callback?



Thanks in advance!
This topic is locked and can not be replied to.