Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
On occasion you’ll want to skip a filter that was defined in a superclass. To do this, you can use the skip_before and skip_after class methods from AbstractController:
class Application < Merb::Controller before :login_required private def login_required unless session[:user_id] throw :halt, Proc.new { |c| c.redirect url(:controller => 'sessions', : method => 'new') } end end end class Sessions < Application skip_before :login_required, :only => %w{ new create } end