<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - redirect_to :back (without params)]]></title>
		<link>http://railsforum.com/viewtopic.php?id=1097</link>
		<description><![CDATA[The most recent posts in redirect_to :back (without params).]]></description>
		<lastBuildDate>Wed, 08 Nov 2006 14:49:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: redirect_to :back (without params)]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=5610#p5610</link>
			<description><![CDATA[<p>Thanks, jdg, I&#039;ll check into that.</p>]]></description>
			<author><![CDATA[dummy@example.com (itchyboy)]]></author>
			<pubDate>Wed, 08 Nov 2006 14:49:26 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=5610#p5610</guid>
		</item>
		<item>
			<title><![CDATA[Re: redirect_to :back (without params)]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=5596#p5596</link>
			<description><![CDATA[<p>itchy,</p><p>There is no way to pass options to the :back call.</p><p>With that said, you may be able to mangle something into working.&nbsp; :back is a shortcut for:</p><p><pre name="code" class="ruby:nogutter">request.env[&quot;HTTP_REFERER&quot;] ? redirect_to(request.env[&quot;HTTP_REFERER&quot;]) : raise(RedirectBackError)</pre><br />You may take a look at some of the other variables available as part of the request, or possibly stripping HTTP_REFERER.</p>]]></description>
			<author><![CDATA[dummy@example.com (jdg)]]></author>
			<pubDate>Wed, 08 Nov 2006 04:20:51 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=5596#p5596</guid>
		</item>
		<item>
			<title><![CDATA[redirect_to :back (without params)]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=5432#p5432</link>
			<description><![CDATA[<p>I&#039;m using a select menu to reset a session var, then redirect back. But it&#039;s possible for GET params in the previous URL to force an &#039;undo&#039; of the change that was just made to the session var, which is not what I want.</p><p>So, I specifically want to be able to redirect to the last page while stripping the GET params from the :back page. Is there a way to pass options to the :back call?</p><p>Passing the action_name and controller_name as hidden fields into the session-changing def is possible, but I&#039;m wondering if there&#039;s a more elegant solution.</p><br /><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (itchyboy)]]></author>
			<pubDate>Sun, 05 Nov 2006 19:38:42 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=5432#p5432</guid>
		</item>
	</channel>
</rss>
