<?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 for RAILS trip</title>
	<atom:link href="http://railstrip.ourgreatjourney.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://railstrip.ourgreatjourney.com</link>
	<description>My Ruby trip on Rails</description>
	<pubDate>Wed, 10 Mar 2010 06:54:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Chris</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-15</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 05 Mar 2010 15:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-15</guid>
		<description>Just a note. I also added the following to preserve the filter when using pagination...

 { :query =&gt; params[:query], :filter =&gt; params[:filter] } } %&gt;</description>
		<content:encoded><![CDATA[<p>Just a note. I also added the following to preserve the filter when using pagination&#8230;</p>
<p> { :query =&gt; params[:query], :filter =&gt; params[:filter] } } %&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Thomas</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-13</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 04 Feb 2010 13:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-13</guid>
		<description>Hmm.. the previous post is supposed to read

replace

&lt;%= will_paginate @accounts %&gt;

with

&lt;%= will_paginate @accounts, { :params =&gt; { :query =&gt; params[:query] } } %&gt;</description>
		<content:encoded><![CDATA[<p>Hmm.. the previous post is supposed to read</p>
<p>replace</p>
<p>&lt;%= will_paginate @accounts %&gt;</p>
<p>with</p>
<p>&lt;%= will_paginate @accounts, { :params =&gt; { :query =&gt; params[:query] } } %&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Thomas</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-12</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 04 Feb 2010 13:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-12</guid>
		<description>Great stuff, Chris, but I had to make a very minor change to preserve the query and make pagination work for data subsets :

replace



with

 { :query =&gt; params[:query] } } %&gt;

This makes sure the query lives on.

Very nice, clean code otherwise, thanks again.</description>
		<content:encoded><![CDATA[<p>Great stuff, Chris, but I had to make a very minor change to preserve the query and make pagination work for data subsets :</p>
<p>replace</p>
<p>with</p>
<p> { :query =&gt; params[:query] } } %&gt;</p>
<p>This makes sure the query lives on.</p>
<p>Very nice, clean code otherwise, thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on observe_field (watch check_box_tag so select_tag can be disabled on click) by Codelucky</title>
		<link>http://railstrip.ourgreatjourney.com/observe_field-watch-check_box_tag-so-select_tag-can-be-disabled-on-click/comment-page-1/#comment-11</link>
		<dc:creator>Codelucky</dc:creator>
		<pubDate>Wed, 16 Dec 2009 11:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=50#comment-11</guid>
		<description>I love the internet.

I had the exact same problem and wasn't very used to javascript.

Thanks for this post.
After two days of trying, this made my day.

However my solution is a little different.

In the check_box_tag I passed the checkbox to the function in the onchange handler like this.

:onchange =&gt; doChange(this)

and reffered to the select_tag in javascript like this.

function doChange(element){
element.form.select_player.disabled = element.checked
}</description>
		<content:encoded><![CDATA[<p>I love the internet.</p>
<p>I had the exact same problem and wasn&#8217;t very used to javascript.</p>
<p>Thanks for this post.<br />
After two days of trying, this made my day.</p>
<p>However my solution is a little different.</p>
<p>In the check_box_tag I passed the checkbox to the function in the onchange handler like this.</p>
<p>:onchange =&gt; doChange(this)</p>
<p>and reffered to the select_tag in javascript like this.</p>
<p>function doChange(element){<br />
element.form.select_player.disabled = element.checked<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Dude</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-10</link>
		<dc:creator>Dude</dc:creator>
		<pubDate>Tue, 15 Dec 2009 13:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-10</guid>
		<description>The last comment ate my &lt;%= will_paginate @accounts%&gt; tag</description>
		<content:encoded><![CDATA[<p>The last comment ate my &lt;%= will_paginate @accounts%&gt; tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Dude</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-9</link>
		<dc:creator>Dude</dc:creator>
		<pubDate>Tue, 15 Dec 2009 13:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-9</guid>
		<description>Hi: Sorting with ajax works great now! But using  produces normal links which produce a GET request on click. The actual sorting column isn't transferred. So everything messes up.
How did you manage jumping to the next page using ajax?</description>
		<content:encoded><![CDATA[<p>Hi: Sorting with ajax works great now! But using  produces normal links which produce a GET request on click. The actual sorting column isn&#8217;t transferred. So everything messes up.<br />
How did you manage jumping to the next page using ajax?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Chris</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-8</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 29 Nov 2009 22:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-8</guid>
		<description>Just a note, I tested this on IE and it worked fine. It must be a configuration issue.</description>
		<content:encoded><![CDATA[<p>Just a note, I tested this on IE and it worked fine. It must be a configuration issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RAILS + ThinkingSphinx + 2 Models = Search Results for both by peter</title>
		<link>http://railstrip.ourgreatjourney.com/rails_thinkingsphinx_2_models/comment-page-1/#comment-7</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com//?p=1#comment-7</guid>
		<description>Great article. You have exactly what I am looking for.

Only question is where did you put the viewslayoutsapplication.html.erb, viewsresultssearch.html.erb and viewsaccounts_results.html.erb?</description>
		<content:encoded><![CDATA[<p>Great article. You have exactly what I am looking for.</p>
<p>Only question is where did you put the viewslayoutsapplication.html.erb, viewsresultssearch.html.erb and viewsaccounts_results.html.erb?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Chris Sund</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-6</link>
		<dc:creator>Chris Sund</dc:creator>
		<pubDate>Wed, 18 Nov 2009 15:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-6</guid>
		<description>Also, Daniel, can you post the error message. - Thanks!</description>
		<content:encoded><![CDATA[<p>Also, Daniel, can you post the error message. - Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to paginate, sort and search a table with Ajax and Rails (JQuery Style with will_paginate plugin) by Chris</title>
		<link>http://railstrip.ourgreatjourney.com/how-to-paginate-sort-and-search-a-table-with-ajax-and-rails-jquery-style/comment-page-1/#comment-5</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 18 Nov 2009 02:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://railstrip.ourgreatjourney.com/?p=66#comment-5</guid>
		<description>Hey Daniel,

Can you post your controller and view code somewhere? I'm coding this on my local machine currently and haven't tried it on IE yet. I will give it a try tomorrow and see if I can reproduce the problem. 

Thanks for the post!
Chris</description>
		<content:encoded><![CDATA[<p>Hey Daniel,</p>
<p>Can you post your controller and view code somewhere? I&#8217;m coding this on my local machine currently and haven&#8217;t tried it on IE yet. I will give it a try tomorrow and see if I can reproduce the problem. </p>
<p>Thanks for the post!<br />
Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>
