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.

Ben VandenBos's latest activity

Friday, August 29 2008
935 Adding Regexp support for :only and :except options on filter_chains was updated in Ruby on Rails
  • Ben VandenBos
    Ben VandenBos commented at 9:10 PM

    Hahaha... of course.. guess I need to work on my googling..

    thanks!

    On Fri, Aug 29, 2008 at 12:47 PM, Lighthouse support@lighthouseapp.comwrote:

  • Ben VandenBos
    Ben VandenBos commented at 7:01 PM
    
    class MyController < ActionController::Base
      before_filter :auth, :only => Regexp.new(/.*_create/)
    end
    
  • Ben VandenBos
    Ben VandenBos created the ticket at 6:58 PM

    It would be nice to be able to pass in Regexp's to filter_chains. I attached the patch including units. First patch, so handle w/ care.

    Example:

    class MyControl...