<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for Not Geekly Correct</title>
	
	<link>http://www.notgeeklycorrect.com</link>
	<description>Blog of a freelance web developer</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:42:57 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForNotGeeklyCorrect" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="commentsfornotgeeklycorrect" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Shutter, a skitch for linux by kensol</title>
		<link>http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/comment-page-1/#comment-567</link>
		<dc:creator>kensol</dc:creator>
		<pubDate>Wed, 10 Mar 2010 16:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/tools/2009/10/20/shutter-a-skitch-for-linux/#comment-567</guid>
		<description>Thanks a lot :D !</description>
		<content:encoded><![CDATA[<p>Thanks a lot <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Nicolas</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-566</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Tue, 09 Mar 2010 20:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-566</guid>
		<description>You can do something like 

repond_to |format| do
  if @myvar.save
    format.js ......
  else
    format.js { render :layout =&gt; false, :partial =&gt; "error" }
  end
end

I think it should work perfectly.</description>
		<content:encoded><![CDATA[<p>You can do something like </p>
<p>repond_to |format| do<br />
  if @myvar.save<br />
    format.js &#8230;&#8230;<br />
  else<br />
    format.js { render :layout =&gt; false, :partial =&gt; &#8220;error&#8221; }<br />
  end<br />
end</p>
<p>I think it should work perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Nicolas</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-565</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-565</guid>
		<description>Hi Nellboy, thanks for the comment.

I think you problem can be corrected by calling ajax_link:

1. On page load (as in tutorial)
2. On your javascript page load (exemple at the end of new.js.erb).</description>
		<content:encoded><![CDATA[<p>Hi Nellboy, thanks for the comment.</p>
<p>I think you problem can be corrected by calling ajax_link:</p>
<p>1. On page load (as in tutorial)<br />
2. On your javascript page load (exemple at the end of new.js.erb).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Ryan</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-564</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 09 Mar 2010 17:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-564</guid>
		<description>This works great, but I (of course) have some questions I'm hoping you can help with. 

How do you handle the error callback? I have some cases where if the action sees something wrong, or the save fails, I'd like to have a callback [action]_error.js.erb or something similar that can report to the user what happened, with the current implementation it always calls the callback, regardless of success/fail (as far as I can see). I'd like to be able to call 'return false' in my action, and have the error callback fired, rather than the success.</description>
		<content:encoded><![CDATA[<p>This works great, but I (of course) have some questions I&#8217;m hoping you can help with. </p>
<p>How do you handle the error callback? I have some cases where if the action sees something wrong, or the save fails, I&#8217;d like to have a callback [action]_error.js.erb or something similar that can report to the user what happened, with the current implementation it always calls the callback, regardless of success/fail (as far as I can see). I&#8217;d like to be able to call &#8216;return false&#8217; in my action, and have the error callback fired, rather than the success.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Nellboy</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-560</link>
		<dc:creator>Nellboy</dc:creator>
		<pubDate>Sat, 27 Feb 2010 10:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-560</guid>
		<description>Hi Nicolas

really big thanks for posting this.  It has been a huge help and has significantly lowered the entry barrier for using jquery effectively with Rails.  Very well explained, and easy to understand.

I have one question if you have time.  I'm running into problems when making AJAX calls from within divs and partials that are shown by other AJAX calls.

Is there a particular reason for this?  I'm struggling to understand why this might happen in this way.

cheers!

Paul</description>
		<content:encoded><![CDATA[<p>Hi Nicolas</p>
<p>really big thanks for posting this.  It has been a huge help and has significantly lowered the entry barrier for using jquery effectively with Rails.  Very well explained, and easy to understand.</p>
<p>I have one question if you have time.  I&#8217;m running into problems when making <acronym title="Asynchronous JavaScript and XML">AJAX</acronym> calls from within divs and partials that are shown by other <acronym title="Asynchronous JavaScript and XML">AJAX</acronym> calls.</p>
<p>Is there a particular reason for this?  I&#8217;m struggling to understand why this might happen in this way.</p>
<p>cheers!</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by violet313</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-557</link>
		<dc:creator>violet313</dc:creator>
		<pubDate>Fri, 19 Feb 2010 20:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-557</guid>
		<description>nice1 Nico ;)
works a charm!

[quote]
@Simon, you’re right, Ryan screencast are really simple and an amazing source of inspiration. I’m sad that you found this tutorial hard to follow. Please let me know if I can help.
[unquote]

hey there's nothing wrong with ur tutorial! -the railscast /does/ fill in the gaps 4 us newbs who want2 understand it -but thx2simon it's now referenced in the comments so np =)</description>
		<content:encoded><![CDATA[<p>nice1 Nico <img src='http://www.notgeeklycorrect.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
works a charm!</p>
<p>[quote]<br />
@Simon, you’re right, Ryan screencast are really simple and an amazing source of inspiration. I’m sad that you found this tutorial hard to follow. Please let me know if I can help.<br />
[unquote]</p>
<p>hey there&#8217;s nothing wrong with ur tutorial! -the railscast /does/ fill in the gaps 4 us newbs who want2 understand it -but thx2simon it&#8217;s now referenced in the comments so np =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Ryan</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-551</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 04 Feb 2010 06:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-551</guid>
		<description>Fixed my issue, its a bug with firefox 3.5 :/</description>
		<content:encoded><![CDATA[<p>Fixed my issue, its a bug with firefox 3.5 :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Beginners guide to Jquery + Ruby On Rails by Ryan</title>
		<link>http://www.notgeeklycorrect.com/english/2009/05/18/beginners-guide-to-jquery-ruby-on-rails/comment-page-1/#comment-550</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 04 Feb 2010 04:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=372#comment-550</guid>
		<description>Your application.js is great, I have implemented and will be cleaning mine out to accommodate yours!

I have a question though, I am getting a 406 Not acceptable error when clicking a link with a put class.. Any idea why this could be?</description>
		<content:encoded><![CDATA[<p>Your application.js is great, I have implemented and will be cleaning mine out to accommodate yours!</p>
<p>I have a question though, I am getting a 406 Not acceptable error when clicking a link with a put class.. Any idea why this could be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Twitter Live! « Matt Jukes</title>
		<link>http://www.notgeeklycorrect.com/about/comment-page-1/#comment-537</link>
		<dc:creator>Twitter Live! « Matt Jukes</dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?page_id=2#comment-537</guid>
		<description>[...] Mitchell (@edmittance). I also met Mark Wheatly (@grumpymandj) for the first time and was joined by Nic Alpi (@spyou) who I have met a few times now but originally ‘met’ on Twitter before he [...]</description>
		<content:encoded><![CDATA[<p>[...] Mitchell (@edmittance). I also met Mark Wheatly (@grumpymandj) for the first time and was joined by Nic Alpi (@spyou) who I have met a few times now but originally &#8216;met&#8217; on Twitter before he [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accelerate your tests in Rails with Ubuntu by Mount options to improve ext4 file system performance « SmartLogic Solutions Blog</title>
		<link>http://www.notgeeklycorrect.com/resources/2010/01/06/accelerate-your-tests-in-rails-with-ubuntu/comment-page-1/#comment-532</link>
		<dc:creator>Mount options to improve ext4 file system performance « SmartLogic Solutions Blog</dc:creator>
		<pubDate>Sat, 09 Jan 2010 21:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.notgeeklycorrect.com/?p=575#comment-532</guid>
		<description>[...] Updated to no longer require recovery disk booting thanks to Nicolas Alpi’s response post. Related Posts:EXT4 On Ubuntu 9.04Loosely defined link_to may cause problems when overriding [...]</description>
		<content:encoded><![CDATA[<p>[...] Updated to no longer require recovery disk booting thanks to Nicolas Alpi&#8217;s response post. Related Posts:EXT4 On Ubuntu 9.04Loosely defined link_to may cause problems when overriding [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
