Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Added Module#setup

#10

module AbstractController
  module Callbacks
    def self.included(klass)
      klass.class_eval do
        include ActiveSupport::NewCallbacks
        define_callbacks :process_action
        extend ClassMethods
      end
    end
    ...
  end
end
 
## NEW
 
module AbstractController
  module Callbacks
    setup do
      include ActiveSupport::NewCallbacks
      define_callbacks :process_action      
    end
    ...
  end
end

Reported by TJ Holowaychuk · April 8th, 2009 @ 02:18 AM

State: resolved
Milestone: 1.0
Assigned to: TJ Holowaychuk TJ Holowaychuk

Activity

  1. TJ Holowaychuk
    TJ Holowaychuk
    • State changed from new to resolved

    July 10th, 2009 @ 09:11 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.