search for: check_domain

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

2006 Apr 03
4
Clearing out filters in ActionController
...r to ensure that it gets run first, but some 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...