<?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, Ajax and jQuery</title>
	<atom:link href="http://codetunes.com/2008/12/08/rails-ajax-and-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/</link>
	<description>Web applications, software engineering, Ruby on Rails, Cake PHP, JavaScript, etc.</description>
	<pubDate>Fri, 12 Mar 2010 18:55:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michał Szajbe</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1071</link>
		<dc:creator>Michał Szajbe</dc:creator>
		<pubDate>Sun, 29 Mar 2009 20:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1071</guid>
		<description>That's true. You don't need additional livequery plugin with jQuery 1.3.</description>
		<content:encoded><![CDATA[<p>That&#8217;s true. You don&#8217;t need additional livequery plugin with jQuery 1.3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1070</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 29 Mar 2009 19:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1070</guid>
		<description>I think jQUery 1.3 provides the same functionality as livequery in the new live event binding, found here http://docs.jquery.com/Events/live

I'm not too familiar with the details of livequery. Is there any reason to continue using it over live?</description>
		<content:encoded><![CDATA[<p>I think jQUery 1.3 provides the same functionality as livequery in the new live event binding, found here <a href="http://docs.jquery.com/Events/live" rel="nofollow">http://docs.jquery.com/Events/live</a></p>
<p>I&#8217;m not too familiar with the details of livequery. Is there any reason to continue using it over live?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michał Szajbe</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1067</link>
		<dc:creator>Michał Szajbe</dc:creator>
		<pubDate>Wed, 18 Mar 2009 22:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1067</guid>
		<description>@mick I don't see a reason, I believe all the code you can copy-paste from this post. Sorry.</description>
		<content:encoded><![CDATA[<p>@mick I don&#8217;t see a reason, I believe all the code you can copy-paste from this post. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GR</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1054</link>
		<dc:creator>GR</dc:creator>
		<pubDate>Sat, 07 Mar 2009 00:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1054</guid>
		<description>I just wanted to chime in and thank you for this post and for introducing me to Taconite.  I am using it on a Rails project now and it has been working out really well (alongside respond_to and *.xml.builder XML Rails views to generate the Taconite code).

There are so many different methods and tools for implementing AJAX on a site it can be a bit bewildering for the AJAX newbie.  Nice to see you not only gave us a suggested approach, but a bunch of helpful sample code as well for ajax form and link submission.

I've subscribed to your feed.  Keep up the good work.</description>
		<content:encoded><![CDATA[<p>I just wanted to chime in and thank you for this post and for introducing me to Taconite.  I am using it on a Rails project now and it has been working out really well (alongside respond_to and *.xml.builder XML Rails views to generate the Taconite code).</p>
<p>There are so many different methods and tools for implementing AJAX on a site it can be a bit bewildering for the AJAX newbie.  Nice to see you not only gave us a suggested approach, but a bunch of helpful sample code as well for ajax form and link submission.</p>
<p>I&#8217;ve subscribed to your feed.  Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mick</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1045</link>
		<dc:creator>mick</dc:creator>
		<pubDate>Tue, 17 Feb 2009 14:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1045</guid>
		<description>any chance u could put up a code download of the work in this post???

:-)</description>
		<content:encoded><![CDATA[<p>any chance u could put up a code download of the work in this post???</p>
<p>:-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1043</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Mon, 16 Feb 2009 23:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1043</guid>
		<description>Thanks for this post. Jeez. Browser incompatibility H*ll.

I'd suggest that for the before_filter in ApplicationController you use:

&lt;pre lang="ruby"&gt;
  def correct_safari_and_ie_accept_headers
    ajax_request_types = ['text/javascript', 'application/json', 'text/xml']
    request.accepts.sort!{ &#124;x, y&#124; ajax_request_types.include?(y.to_s) ? 1 : -1 } if request.xhr?
  end
&lt;/pre&gt;

This sorts the three most commonly used formats to the top of the accepts list, not just xml.</description>
		<content:encoded><![CDATA[<p>Thanks for this post. Jeez. Browser incompatibility H*ll.</p>
<p>I&#8217;d suggest that for the before_filter in ApplicationController you use:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;">  <span style="color:#9966CC; font-weight:bold;">def</span> correct_safari_and_ie_accept_headers
    ajax_request_types = <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'text/javascript'</span>, <span style="color:#996600;">'application/json'</span>, <span style="color:#996600;">'text/xml'</span><span style="color:#006600; font-weight:bold;">&#93;</span>
    request.<span style="color:#9900CC;">accepts</span>.<span style="color:#9900CC;">sort</span>!<span style="color:#006600; font-weight:bold;">&#123;</span> |x, y| ajax_request_types.<span style="color:#9966CC; font-weight:bold;">include</span>?<span style="color:#006600; font-weight:bold;">&#40;</span>y.<span style="color:#9900CC;">to_s</span><span style="color:#006600; font-weight:bold;">&#41;</span> ? <span style="color:#006666;">1</span> : <span style="color:#006600; font-weight:bold;">-</span><span style="color:#006666;">1</span> <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#9966CC; font-weight:bold;">if</span> request.<span style="color:#9900CC;">xhr</span>?
  <span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>This sorts the three most commonly used formats to the top of the accepts list, not just xml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: //DEVGURU &#187; Blog Archive &#187; Rails 2.2.2, Ajax and respond_to</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1032</link>
		<dc:creator>//DEVGURU &#187; Blog Archive &#187; Rails 2.2.2, Ajax and respond_to</dc:creator>
		<pubDate>Fri, 30 Jan 2009 22:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1032</guid>
		<description>[...] I wrote some time ago in the article about Rails, Ajax and jQuery, sometimes there are problems with Rails not interpreting correctly content type headers of ajax [...]</description>
		<content:encoded><![CDATA[<p>[...] I wrote some time ago in the article about Rails, Ajax and jQuery, sometimes there are problems with Rails not interpreting correctly content type headers of ajax [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails 2.2.2, Ajax and respond_to at code tunes</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-1031</link>
		<dc:creator>Rails 2.2.2, Ajax and respond_to at code tunes</dc:creator>
		<pubDate>Fri, 30 Jan 2009 22:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-1031</guid>
		<description>[...] I wrote some time ago in the article about Rails, Ajax and jQuery, sometimes there are problems with Rails not interpreting correctly content type headers of ajax [...]</description>
		<content:encoded><![CDATA[<p>[...] I wrote some time ago in the article about Rails, Ajax and jQuery, sometimes there are problems with Rails not interpreting correctly content type headers of ajax [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Szinek</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-997</link>
		<dc:creator>Peter Szinek</dc:creator>
		<pubDate>Mon, 15 Dec 2008 21:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-997</guid>
		<description>Thanks man, great stuff!</description>
		<content:encoded><![CDATA[<p>Thanks man, great stuff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex tretyakov</title>
		<link>http://codetunes.com/2008/12/08/rails-ajax-and-jquery/comment-page-1/#comment-995</link>
		<dc:creator>alex tretyakov</dc:creator>
		<pubDate>Mon, 15 Dec 2008 15:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://codetunes.com/?p=89#comment-995</guid>
		<description>Thanks for good and informative article. 
But I have question - why you change rel attributes to "nofollow"? I dont think google bot will proceed JS..</description>
		<content:encoded><![CDATA[<p>Thanks for good and informative article.<br />
But I have question - why you change rel attributes to &#8220;nofollow&#8221;? I dont think google bot will proceed JS..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
