<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>this oughta be interesting... &#187; Uncategorized</title>
	<atom:link href="http://joshsharpe.com/archives/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://joshsharpe.com</link>
	<description></description>
	<lastBuildDate>Mon, 05 Apr 2010 17:41:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I don&#8217;t know, can you?</title>
		<link>http://joshsharpe.com/archives/i-dont-know-can-you</link>
		<comments>http://joshsharpe.com/archives/i-dont-know-can-you#comments</comments>
		<pubDate>Mon, 01 Mar 2010 19:05:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsharpe.com/?p=100</guid>
		<description><![CDATA[&#60;rant&#62;
There has been, and continues to be, a lot of talk around writing semantic code.  One thing that gets under my skin, and I wish it would stop, is the continued use of #can?(:do_something) as a pattern for handling permissions.  I have no problem with the pattern itself, it&#8217;s the verb I take [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;rant&gt;</p>
<p>There has been, and continues to be, a lot of talk around writing semantic code.  One thing that gets under my skin, and I wish it would stop, is the continued use of #can?(:do_something) as a pattern for handling permissions.  I have no problem with the pattern itself, it&#8217;s the verb I take issue with.  &#8220;Can&#8221; asks for the ability to do something, &#8220;may&#8221; asks for permission&#8221;  Get it right people.</p>
<p>Doesn&#8217;t anyone else remember the following scenario from second grade?</p>
<p>Miniature you:  &#8220;Teacher, teacher! Can I go do the bathroom, please?&#8221;<br />
Mrs. WhatsHerName:  &#8220;I don&#8217;t know, can you?&#8221;<br />
Miniature, pissed off, you:  &#8220;Well, yea, I can&#8230;&#8221; &lt;blank stare /&gt;</p>
<p>I&#8217;m looking at you <a href="http://github.com/ryanb/cancan">cancan</a>, <a href="http://github.com/jnunemaker/canable/">canable</a> and <a href="http://github.com/noomii/walruz-rails">walruz</a>.</p>
<p>If you still don&#8217;t get it <a href="http://www.businesswritingblog.com/business_writing/2006/08/can_vs_maynot_s.html">read this</a>.</p>
<p>As far as I know, the only plugin out there that handles this (semantic issue) correctly is <a href="http://github.com/makandra/aegis">Makandra&#8217;s Aegis</a>.  And they are <a href="http://github.com/makandra">GERMAN</a>. It functionally works about the same as well.  So props to them for that.</p>
<p>&lt;/rant&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://joshsharpe.com/archives/i-dont-know-can-you/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
