<?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: A very simple login example with Rails</title>
	<atom:link href="http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/</link>
	<description>Just a little about development! Think before you write!</description>
	<pubDate>Tue, 06 Jan 2009 04:23:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brett</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-4835</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Tue, 30 Sep 2008 17:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-4835</guid>
		<description>Hey very nice work on this system.  Well explained.  This is for a very similar system, only the code was tacked on to a finished site.  The login system is pretty much separate from the site, because the login system is only temporary. 

http://www.thewojogroup.com/2008/09/super-simple-login-with-rails/</description>
		<content:encoded><![CDATA[<p>Hey very nice work on this system.  Well explained.  This is for a very similar system, only the code was tacked on to a finished site.  The login system is pretty much separate from the site, because the login system is only temporary. </p>
<p><a href="http://www.thewojogroup.com/2008/09/super-simple-login-with-rails/" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/www.thewojogroup.com');">http://www.thewojogroup.com/2008/09/super-simple-login-with-rails/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A very simple login example with JSF &#124; Urubatan&#8217;s Weblog</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-68</link>
		<dc:creator>A very simple login example with JSF &#124; Urubatan&#8217;s Weblog</dc:creator>
		<pubDate>Sat, 20 Oct 2007 15:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-68</guid>
		<description>[...] Recent Comments Notebook para que? PortableApps.com! &#124; Blog do Urubatan on Why do you need a laptop? Try PortableApps.comJos Hirth on Use your mobile phone to control your presentations with Open OfficeUrubatan on Recording screencasts with Linux (Ubuntu/Kubuntu)Tom on Recording screencasts with Linux (Ubuntu/Kubuntu)Urubatan on A very simple login example with Rails [...]</description>
		<content:encoded><![CDATA[<p>[...] Recent Comments Notebook para que? PortableApps.com! | Blog do Urubatan on Why do you need a laptop? Try PortableApps.comJos Hirth on Use your mobile phone to control your presentations with Open OfficeUrubatan on Recording screencasts with Linux (Ubuntu/Kubuntu)Tom on Recording screencasts with Linux (Ubuntu/Kubuntu)Urubatan on A very simple login example with Rails [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urubatan</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-63</link>
		<dc:creator>Urubatan</dc:creator>
		<pubDate>Wed, 17 Oct 2007 12:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-63</guid>
		<description>Zachary, I liked the idea, I´ll improve the example with a little of REST and with some Authorization too (this one, the main purpose id the authentication only :D )
And will write another post about it, probably next week.
Thanks for commenting.</description>
		<content:encoded><![CDATA[<p>Zachary, I liked the idea, I´ll improve the example with a little of REST and with some Authorization too (this one, the main purpose id the authentication only <img src='http://www.urubatan.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )<br />
And will write another post about it, probably next week.<br />
Thanks for commenting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: napyfab:blog&#187; Blog Archive &#187; links for 2007-10-16</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-61</link>
		<dc:creator>napyfab:blog&#187; Blog Archive &#187; links for 2007-10-16</dc:creator>
		<pubDate>Tue, 16 Oct 2007 23:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-61</guid>
		<description>[...] A very simple login example with Rails &#124; Urubatan’s Weblog (tags: rails rubyonrails authentication login example ruby ror webdev web development programming) [...]</description>
		<content:encoded><![CDATA[<p>[...] A very simple login example with Rails | Urubatan’s Weblog (tags: rails rubyonrails authentication login example ruby ror webdev web development programming) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zachary Fox</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-60</link>
		<dc:creator>Zachary Fox</dc:creator>
		<pubDate>Tue, 16 Oct 2007 19:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-60</guid>
		<description>I agree with Jeremy. I'd rather have less methods in my controller than one less if statement. I'm just getting started with the RESTful stuff, and I'm not 100% sold on it yet, but I like the idea of a session controller.

Thank you for creating a simple example and explaining it. Obviously, for real access control, you need to go a couple of steps further. Maybe you could show us that next.</description>
		<content:encoded><![CDATA[<p>I agree with Jeremy. I&#8217;d rather have less methods in my controller than one less if statement. I&#8217;m just getting started with the RESTful stuff, and I&#8217;m not 100% sold on it yet, but I like the idea of a session controller.</p>
<p>Thank you for creating a simple example and explaining it. Obviously, for real access control, you need to go a couple of steps further. Maybe you could show us that next.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urubatan</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-59</link>
		<dc:creator>Urubatan</dc:creator>
		<pubDate>Mon, 15 Oct 2007 20:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-59</guid>
		<description>Thanks for the comments Jeremy,
I'll write another example using your tips :D
about the "login" and "do_login" method, I prefer this way because I need one less "if" in the code :D</description>
		<content:encoded><![CDATA[<p>Thanks for the comments Jeremy,<br />
I&#8217;ll write another example using your tips <img src='http://www.urubatan.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
about the &#8220;login&#8221; and &#8220;do_login&#8221; method, I prefer this way because I need one less &#8220;if&#8221; in the code <img src='http://www.urubatan.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Weiskotten</title>
		<link>http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/comment-page-1/#comment-58</link>
		<dc:creator>Jeremy Weiskotten</dc:creator>
		<pubDate>Mon, 15 Oct 2007 17:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-very-simple-login-example-with-rails/#comment-58</guid>
		<description>The LoginController doesn't need the empty login action method. The template will be rendered without it.

Although, I'd suggest moving do_login into login, and wrapping it with an if request.post?, having the form post to that action (remember that forms post to the rendered action by default, so you wouldn't have to specify an :action on the form).

Otherwise, consider a more RESTful approach -- it looks like SessionController with #create (for login) and #destroy (for logout) actions is in vogue at the moment.</description>
		<content:encoded><![CDATA[<p>The LoginController doesn&#8217;t need the empty login action method. The template will be rendered without it.</p>
<p>Although, I&#8217;d suggest moving do_login into login, and wrapping it with an if request.post?, having the form post to that action (remember that forms post to the rendered action by default, so you wouldn&#8217;t have to specify an :action on the form).</p>
<p>Otherwise, consider a more RESTful approach &#8212; it looks like SessionController with #create (for login) and #destroy (for logout) actions is in vogue at the moment.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
