Hi folks! I''d like to add an "acts_as_notified" method to my active record classes (User, for example) which, when the model is saved triggers some other function, such as sending a mail, updating a log table etc. I can get the acts_as_notified class method in the class, but I''m having two problems: 1. (The main problem) I''m not sure how to register an after_save hook in my module. I''ve found docs but they''re all rails 2/3 specific. I can work around this by doing ActsAsNotified; u = User.first # ActsAsNotified is the module my acts_as_notified method is in, but would prefer not to have to do this. 2. If I open a rails console and do u = User.first, I get : NameError: undefined local variable or method `acts_as_notified'' Any ideas? Good (updated docs)? thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.