Message from discussion
Change in ActionController's filter API (cross-posted to Oceania list)
MIME-Version: 1.0
Message-ID: <74b30d16-0457-4840-a252-4650d4233429@e10g2000prf.googlegroups.com>
Date: Sun, 10 Feb 2008 18:08:24 -0800 (PST)
Received: by 10.100.140.10 with SMTP id n10mr1074290and.1.1202695704294; Sun,
10 Feb 2008 18:08:24 -0800 (PST)
In-Reply-To: <b76ae59f-571a-4d83-977b-da712b2b8957@i29g2000prf.googlegroups.com>
X-IP: 58.108.49.199
References: <b76ae59f-571a-4d83-977b-da712b2b8957@i29g2000prf.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us)
AppleWebKit/523.10.6 (KHTML, like Gecko) Version/3.0.4 Safari/523.10.6,gzip(gfe),gzip(gfe)
Subject: Re: Change in ActionController's filter API (cross-posted to Oceania
list)
From: Ryan Allen <r...@yeahnah.org>
To: Melbourne Ruby User Group <melbourne-ruby@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
> def stop_nasty_buggers
> halt(404)
> end
Sorry, make that:
def stop_nasty_buggers
head(404)
end