<?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: Proper Error Handling in Rails Controllers</title>
	<atom:link href="http://www.pervasivecode.com/blog/2009/07/27/proper-error-handling-in-rails-controllers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pervasivecode.com/blog/2009/07/27/proper-error-handling-in-rails-controllers/</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<lastBuildDate>Sat, 12 Jun 2010 04:23:27 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ennuyer.net &#187; Blog Archive &#187; Rails Reading - August 4, 2009</title>
		<link>http://www.pervasivecode.com/blog/2009/07/27/proper-error-handling-in-rails-controllers/comment-page-1/#comment-19872</link>
		<dc:creator>Ennuyer.net &#187; Blog Archive &#187; Rails Reading - August 4, 2009</dc:creator>
		<pubDate>Wed, 05 Aug 2009 08:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=131#comment-19872</guid>
		<description>[...]  Pervasive Code » Proper Error Handling in Rails Controllers  [...]</description>
		<content:encoded><![CDATA[<p>[...]  Pervasive Code » Proper Error Handling in Rails Controllers  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Flournoy</title>
		<link>http://www.pervasivecode.com/blog/2009/07/27/proper-error-handling-in-rails-controllers/comment-page-1/#comment-19608</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Wed, 29 Jul 2009 02:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=131#comment-19608</guid>
		<description>I disagree that it belongs in the framework, but only because of Rails application templates. In other words, you probably shouldn&#039;t be starting with a generic Rails app anymore, unless your app is super weird and doesn&#039;t resemble any of the available templates.

There&#039;s still the issue of retooling: at what point does it make sense to reimplement your app on top of a template that uses stuff that didn&#039;t exist when you started. So how do we retroactively beef up the security of some Rails app that&#039;s 18+ months old? Maybe your argument about it belonging in the framework holds water after all. :)</description>
		<content:encoded><![CDATA[<p>I disagree that it belongs in the framework, but only because of Rails application templates. In other words, you probably shouldn&#8217;t be starting with a generic Rails app anymore, unless your app is super weird and doesn&#8217;t resemble any of the available templates.</p>
<p>There&#8217;s still the issue of retooling: at what point does it make sense to reimplement your app on top of a template that uses stuff that didn&#8217;t exist when you started. So how do we retroactively beef up the security of some Rails app that&#8217;s 18+ months old? Maybe your argument about it belonging in the framework holds water after all. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Breindel</title>
		<link>http://www.pervasivecode.com/blog/2009/07/27/proper-error-handling-in-rails-controllers/comment-page-1/#comment-19595</link>
		<dc:creator>Adam Breindel</dc:creator>
		<pubDate>Tue, 28 Jul 2009 18:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=131#comment-19595</guid>
		<description>Great post! Especially the part about &quot;you forgot to check that the ID being deleted matches the currently logged in user&quot; ...

Actually, Rails really needs better secure-by-default configuration. Stuff like attr_accessible is a step in the right direction, but ... considering Rails is already a heavy full-stack framework, I&#039;d make a standard auth mechanism part of the stack unless the developer specifically disables it. Having a standard baked in user/role/access system would make it easy-ish to have the meta-programming-based code (e.g. joins) perform checks on all data access, etc.

I&#039;d even go so far as to make the production config automatically use https for urls, and add a utility to generate and handle certs for testing.</description>
		<content:encoded><![CDATA[<p>Great post! Especially the part about &#8220;you forgot to check that the ID being deleted matches the currently logged in user&#8221; &#8230;</p>
<p>Actually, Rails really needs better secure-by-default configuration. Stuff like attr_accessible is a step in the right direction, but &#8230; considering Rails is already a heavy full-stack framework, I&#8217;d make a standard auth mechanism part of the stack unless the developer specifically disables it. Having a standard baked in user/role/access system would make it easy-ish to have the meta-programming-based code (e.g. joins) perform checks on all data access, etc.</p>
<p>I&#8217;d even go so far as to make the production config automatically use https for urls, and add a utility to generate and handle certs for testing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
