From: Arun Kumar Date: 2009-04-07T20:18:46+09:00 Subject: Re: Code duplication Eleanor McHugh wrote: > On 7 Apr 2009, at 05:31, Arun Kumar wrote: >> Thanks Ellie,You gave me a clue of not only solving the code >> duplication but also about handling the redirects. Thanks a lot. > > My pleasure :) > > > Ellie > > Eleanor McHugh > Games With Brains > http://slides.games-with-brains.net > ---- > raise ArgumentError unless @reality.responds_to? :reason Hi Ellie, I once again thank you for your reply. It helped me a lot. Now I want to share some doubt with you. 1) How can i specify the redirect limit without declaring it inside a method. Is it possible? 2) By including a redirect limit, will I be able to make the code for url redirection the most effective one or should i include some aditions to the code to handle redirection effectively? Thanks Arun -- Posted via http://www.ruby-forum.com/.