search for: valid_site

Displaying 1 result from an estimated 1 matches for "valid_site".

Did you mean: valid_bits
2006 Apr 03
4
Clearing out filters in ActionController
...of my around_filters are still being processed. Is there a way that I can clear out all the filters that should be run? Basically it''ll look something like this: class ApplicationController < ActionController::Base prepend_before_filter :check_domain def check_domain unless valid_site? request.filters.clear # This isn''t the right code, I just don''t know what is render :text => ''This site has not been set up yet'' end end end valid_site?''s implementation doesn''t matter obviously... Also, if I use prepe...