<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails&#8217; respond_to method</title>
	<atom:link href="http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/</link>
	<description>Just another nerd blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:40:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Braxton in Austin &#187; Rails respond_to issues when using IE</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6710</link>
		<dc:creator>Braxton in Austin &#187; Rails respond_to issues when using IE</dc:creator>
		<pubDate>Fri, 05 Feb 2010 03:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6710</guid>
		<description>[...] different times in my app.  That&#8217;s why you have them right?  Anyway, after reading over  a related post at info.michael-simons.eu I discovered that IE was sending the wrong accept-headers.  So I checked out the Prototype API and [...]</description>
		<content:encoded><![CDATA[<p>[...] different times in my app.  That&#8217;s why you have them right?  Anyway, after reading over  a related post at info.michael-simons.eu I discovered that IE was sending the wrong accept-headers.  So I checked out the Prototype API and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Braxton Beyer</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6709</link>
		<dc:creator>Braxton Beyer</dc:creator>
		<pubDate>Fri, 05 Feb 2010 03:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6709</guid>
		<description>for other&#039;s that end up here, I was having a related issue with my ajax calls vs html pages.  I fixed it by adding accept:&#039;text/javascript&#039;
to my options of my prototype ajax calls.</description>
		<content:encoded><![CDATA[<p>for other&#8217;s that end up here, I was having a related issue with my ajax calls vs html pages.  I fixed it by adding accept:&#8217;text/javascript&#8217;<br />
to my options of my prototype ajax calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CSV Exports using csv_builder &#171; While I Pondered&#8230;</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6668</link>
		<dc:creator>CSV Exports using csv_builder &#171; While I Pondered&#8230;</dc:creator>
		<pubDate>Wed, 30 Dec 2009 20:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6668</guid>
		<description>[...] routes, unfortunately, one that includes the :format designation and one that doesn&#8217;t. See this blog post for [...]</description>
		<content:encoded><![CDATA[<p>[...] routes, unfortunately, one that includes the :format designation and one that doesn&#8217;t. See this blog post for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Birch: RoR</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6589</link>
		<dc:creator>Adrian Birch: RoR</dc:creator>
		<pubDate>Wed, 25 Mar 2009 16:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6589</guid>
		<description>[...] HTML and [JSON&#124;http://www.json.org/]. RoR deals with this by having a [respond_to&#124;http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/] [...]</description>
		<content:encoded><![CDATA[<p>[...] HTML and [JSON|http://www.json.org/]. RoR deals with this by having a [respond_to|http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grails&#8217; withFormat block &#124; info.michael-simons.eu</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6583</link>
		<dc:creator>Grails&#8217; withFormat block &#124; info.michael-simons.eu</dc:creator>
		<pubDate>Mon, 23 Mar 2009 10:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6583</guid>
		<description>[...] things are not really different in Rails and Grails world. The pendant to Rails&#8217; respond_to method is Grails withFormat [...]</description>
		<content:encoded><![CDATA[<p>[...] things are not really different in Rails and Grails world. The pendant to Rails&#8217; respond_to method is Grails withFormat [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Workaround for IE Overly Accepting in Rails&#8217; respond_to format -- Garrick Van Buren .com</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6516</link>
		<dc:creator>Workaround for IE Overly Accepting in Rails&#8217; respond_to format -- Garrick Van Buren .com</dc:creator>
		<pubDate>Tue, 19 Aug 2008 06:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6516</guid>
		<description>[...] RAILS’ RESPOND_TO METHOD - Michael Simons [...]</description>
		<content:encoded><![CDATA[<p>[...] RAILS’ RESPOND_TO METHOD &#8211; Michael Simons [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disable Ruby On Rails Sessions &#124; info.michael-simons.eu</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6384</link>
		<dc:creator>Disable Ruby On Rails Sessions &#124; info.michael-simons.eu</dc:creator>
		<pubDate>Tue, 20 Nov 2007 13:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6384</guid>
		<description>[...] which is dedicated to entirely to feed generation (yeah, i know about about REST and especially respond_to, but i wouldn&#8217;t get rid of thousands of useless sessions without: class FeedsController &lt; [...]</description>
		<content:encoded><![CDATA[<p>[...] which is dedicated to entirely to feed generation (yeah, i know about about REST and especially respond_to, but i wouldn&#8217;t get rid of thousands of useless sessions without: class FeedsController &lt; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6339</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 16 Aug 2007 19:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6339</guid>
		<description>Hey Jilian,
glad to hear that someone can make use of my findings and even better, that it works with other formats as well.

I can tell you, it was devasteting, that this wonderful function won&#039;t work properly in IE.

But to be fair, i guess the problem is partially on the Rails Side with Rails not correctly checking the accept header, but i can be wrong.

With firefox you can change the request headers, i don&#039;t know if its possible in IE, too. Also, it wouldn&#039;t be a convinient user experience, i guess.

Have a nice day,
Michael.</description>
		<content:encoded><![CDATA[<p>Hey Jilian,<br />
glad to hear that someone can make use of my findings and even better, that it works with other formats as well.</p>
<p>I can tell you, it was devasteting, that this wonderful function won&#8217;t work properly in IE.</p>
<p>But to be fair, i guess the problem is partially on the Rails Side with Rails not correctly checking the accept header, but i can be wrong.</p>
<p>With firefox you can change the request headers, i don&#8217;t know if its possible in IE, too. Also, it wouldn&#8217;t be a convinient user experience, i guess.</p>
<p>Have a nice day,<br />
Michael.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jillian</title>
		<link>http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6338</link>
		<dc:creator>Jillian</dc:creator>
		<pubDate>Thu, 16 Aug 2007 18:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://info.michael-simons.eu/2007/08/06/rails-respond_to-method/#comment-6338</guid>
		<description>The project I&#039;m working on is having the same sort of issue with IE-- except with excel being favored over everything else. XML behaves nicely when placed after html in the respond_to code, but xls is always trumping, even at the end.
Your solution with :format works wonderfully. I just wish IE would  act right, or that there was some way to tell IE what priority each format should have?</description>
		<content:encoded><![CDATA[<p>The project I&#8217;m working on is having the same sort of issue with IE&#8211; except with excel being favored over everything else. XML behaves nicely when placed after html in the respond_to code, but xls is always trumping, even at the end.<br />
Your solution with :format works wonderfully. I just wish IE would  act right, or that there was some way to tell IE what priority each format should have?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.391 seconds -->

