Forum: Ruby on Rails Observer method names

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jose Hales-Garcia (Guest)
on 2006-04-27 03:14
I haven't seen it documented anywhere, but can observer methods be given
a prefix in their name like 'after_' followed by my controller's method

For instance I have a couple of methods called 'create' and
'create_reply'.  Can I have 'after_create' and 'after_create_reply' in
my observer class and expect it to work?

This topic is locked and can not be replied to.