From: Robert Klemme Date: 2008-04-07T20:25:46+09:00 Subject: Re: How to override a method defined in Ruby module 2008/4/7, Sonar Volta : > Greetings, > > I'm new in Ruby, so my question might seem a bit stupid. I have a > third-party module wired into my project (ActiveScaffold). It defines > some empty method: > > [code] > module ActiveScaffold::Actions > > module Update > > ...... > > # override this method if you want to do something after the save > def after_update_save(record); end > > end > end > > [/code] > > which I need to override. How do I do this? You simply define it in the class that includes this module. Or you define it in a module that inherits this module. Kind regards robert -- use.inject do |as, often| as.you_can - without end