From: "Jesús Gabriel y Galán" Date: 2009-08-13T23:27:42+09:00 Subject: Re: skip_before_filter (Do I need a lesson in modules/mixins?) On Thu, Aug 13, 2009 at 4:19 PM, Cris Shupp wrote: > I tried creating a simple example (using what your url illustrated) but > it does not work.  Here is my toy  The first 'call_me' invocation is > what I am assuming is equivalent to the skip_before_filter call: > > module Test > >  def self.include(base) def self.included(base) irb(main):016:0> module Test irb(main):017:1> irb(main):018:1* def self.included(base) irb(main):019:2> base.extend(ClassMethods) irb(main):020:2> end irb(main):021:1> module ClassMethods irb(main):022:2> def call_me irb(main):023:3> puts "Class method" irb(main):024:3> end irb(main):025:2> end irb(main):026:1> end => nil irb(main):027:0> class Tester irb(main):028:1> include Test irb(main):029:1> call_me irb(main):030:1> end Class method => nil Hope this helps, Jesus.