<?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 casperfabricius.com</title>
	<atom:link href="http://casperfabricius.com/site/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://casperfabricius.com/site</link>
	<description>expert ruby on rails development</description>
	<lastBuildDate>Wed, 04 May 2011 02:45:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on AJAX sign in and sign up with Devise by Scott Greenfield</title>
		<link>http://casperfabricius.com/site/2010/09/30/ajax-sign-in-and-sign-up-with-devise/comment-page-1/#comment-1872</link>
		<dc:creator>Scott Greenfield</dc:creator>
		<pubDate>Wed, 04 May 2011 02:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=342#comment-1872</guid>
		<description>Any idea what to put in the registrations_controller.rb?  Another Gist would be very much appreciated.  Also, what goes in the sessions/new.erb.rjs file?  I&#039;m pretty new at rails,  so if you could fill in the missing pieces to this tutorial for noobs such as myself, that would be very appreciated.  Thanks!</description>
		<content:encoded><![CDATA[<p>Any idea what to put in the registrations_controller.rb?  Another Gist would be very much appreciated.  Also, what goes in the sessions/new.erb.rjs file?  I&#8217;m pretty new at rails,  so if you could fill in the missing pieces to this tutorial for noobs such as myself, that would be very appreciated.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The next big thing by Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2011/01/01/the-next-big-thing/comment-page-1/#comment-1671</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Mon, 10 Jan 2011 07:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=386#comment-1671</guid>
		<description>Mange tak. Hvis du vil høre mere om det, er du velkommen d. 19. jan hvor Copenhagen Ruby Brigade afholdes hos Podio ;) Vegas tror jeg ikke der bliver tid til i år, men I skal nok få et blast uden mig ;)</description>
		<content:encoded><![CDATA[<p>Mange tak. Hvis du vil høre mere om det, er du velkommen d. 19. jan hvor Copenhagen Ruby Brigade afholdes hos Podio ;) Vegas tror jeg ikke der bliver tid til i år, men I skal nok få et blast uden mig ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The next big thing by TM</title>
		<link>http://casperfabricius.com/site/2011/01/01/the-next-big-thing/comment-page-1/#comment-1669</link>
		<dc:creator>TM</dc:creator>
		<pubDate>Sun, 09 Jan 2011 23:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=386#comment-1669</guid>
		<description>Stort tillykke med jobbet - det skal nok blive spændende! Glæder mig til at høre lidt mere om det. Skal du til Vegas igen i år?</description>
		<content:encoded><![CDATA[<p>Stort tillykke med jobbet &#8211; det skal nok blive spændende! Glæder mig til at høre lidt mere om det. Skal du til Vegas igen i år?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX sign in and sign up with Devise by Stanislav</title>
		<link>http://casperfabricius.com/site/2010/09/30/ajax-sign-in-and-sign-up-with-devise/comment-page-1/#comment-1658</link>
		<dc:creator>Stanislav</dc:creator>
		<pubDate>Mon, 03 Jan 2011 22:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=342#comment-1658</guid>
		<description>When I try to use html registration I get:
super called outside of method</description>
		<content:encoded><![CDATA[<p>When I try to use html registration I get:<br />
super called outside of method</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Event-driven javascript with jQuery by Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2010/12/12/event-driven-javascript-with-jquery/comment-page-1/#comment-1644</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Mon, 13 Dec 2010 21:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=369#comment-1644</guid>
		<description>@eric: Yes, well ...

@hank: I don&#039;t quite follow? I don&#039;t believe I use either of those methods in my examples here?</description>
		<content:encoded><![CDATA[<p>@eric: Yes, well &#8230;</p>
<p>@hank: I don&#8217;t quite follow? I don&#8217;t believe I use either of those methods in my examples here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Event-driven javascript with jQuery by Hank Marquardt</title>
		<link>http://casperfabricius.com/site/2010/12/12/event-driven-javascript-with-jquery/comment-page-1/#comment-1643</link>
		<dc:creator>Hank Marquardt</dc:creator>
		<pubDate>Mon, 13 Dec 2010 16:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=369#comment-1643</guid>
		<description>Looked through your source, very nice example of pub/sub.   If I may, can I ask you you use $getScript rather than just getJSON and doing the data/UI manip on the client?</description>
		<content:encoded><![CDATA[<p>Looked through your source, very nice example of pub/sub.   If I may, can I ask you you use $getScript rather than just getJSON and doing the data/UI manip on the client?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Event-driven javascript with jQuery by eric</title>
		<link>http://casperfabricius.com/site/2010/12/12/event-driven-javascript-with-jquery/comment-page-1/#comment-1641</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Sun, 12 Dec 2010 14:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=369#comment-1641</guid>
		<description>haven&#039;t read the article, but at a quick glance, you should at least be caching the $(document) selector - no need to re-create it 10 times.</description>
		<content:encoded><![CDATA[<p>haven&#8217;t read the article, but at a quick glance, you should at least be caching the $(document) selector &#8211; no need to re-create it 10 times.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX sign in and sign up with Devise by Stanislav</title>
		<link>http://casperfabricius.com/site/2010/09/30/ajax-sign-in-and-sign-up-with-devise/comment-page-1/#comment-1640</link>
		<dc:creator>Stanislav</dc:creator>
		<pubDate>Sat, 11 Dec 2010 23:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=342#comment-1640</guid>
		<description>Where can I send message like 
render :partial  =&gt; &#039;/shared/failed_authentication&#039;
in case of wrong password ?
I&#039;ve figured out that in case wrong password called method recall:
  def recall
    env[&quot;PATH_INFO&quot;]  = attempted_path
    flash.now[:alert] = i18n_message(:invalid)
    self.response = recall_controller.action(warden_options[:recall]).call(env)
  end
But I can&#039;t understand how to customize it.
Now if I enter wrong password in ajax response I get rendering of sessions/new.html.erb. But I want to send little message, not entire page
Thanks</description>
		<content:encoded><![CDATA[<p>Where can I send message like<br />
render :partial  =&gt; &#8216;/shared/failed_authentication&#8217;<br />
in case of wrong password ?<br />
I&#8217;ve figured out that in case wrong password called method recall:<br />
  def recall<br />
    env["PATH_INFO"]  = attempted_path<br />
    flash.now[:alert] = i18n_message(:invalid)<br />
    self.response = recall_controller.action(warden_options[:recall]).call(env)<br />
  end<br />
But I can&#8217;t understand how to customize it.<br />
Now if I enter wrong password in ajax response I get rendering of sessions/new.html.erb. But I want to send little message, not entire page<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX sign in and sign up with Devise by Stanislav</title>
		<link>http://casperfabricius.com/site/2010/09/30/ajax-sign-in-and-sign-up-with-devise/comment-page-1/#comment-1639</link>
		<dc:creator>Stanislav</dc:creator>
		<pubDate>Sat, 11 Dec 2010 19:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=342#comment-1639</guid>
		<description>Thank you for this post.
I have a problem. Success sign in works fine, but I can&#039;t control process if password is wrong. If I understand correctly, I can do this in redirect_url, but it seems it doesn&#039;t work for me</description>
		<content:encoded><![CDATA[<p>Thank you for this post.<br />
I have a problem. Success sign in works fine, but I can&#8217;t control process if password is wrong. If I understand correctly, I can do this in redirect_url, but it seems it doesn&#8217;t work for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AJAX sign in and sign up with Devise by Casper Fabricius</title>
		<link>http://casperfabricius.com/site/2010/09/30/ajax-sign-in-and-sign-up-with-devise/comment-page-1/#comment-1632</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Tue, 16 Nov 2010 05:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/site/?p=342#comment-1632</guid>
		<description>Thanks. In my experience it&#039;s easiest to use basic HTTP authentication for API authentication. Devise already supports this - in fact, it should be automatically enabled for requests to any protected controllers that does not accept an HTML response (Ajax, XML, etc.). So no, you should not use my solution for API auth - specifically, you shouldn&#039;t disable http auth.</description>
		<content:encoded><![CDATA[<p>Thanks. In my experience it&#8217;s easiest to use basic HTTP authentication for API authentication. Devise already supports this &#8211; in fact, it should be automatically enabled for requests to any protected controllers that does not accept an HTML response (Ajax, XML, etc.). So no, you should not use my solution for API auth &#8211; specifically, you shouldn&#8217;t disable http auth.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

