<?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>Tue, 06 Dec 2011 17:52:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>skinny models! yay!</title>
		<link>http://joshsharpe.com/archives/skinny-models-yay</link>
		<comments>http://joshsharpe.com/archives/skinny-models-yay#comments</comments>
		<pubDate>Tue, 06 Dec 2011 17:46:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsharpe.com/?p=178</guid>
		<description><![CDATA[This guy doesn&#8217;t deserve credit for this idea, but his explanation is on point. http://qualityonrails.com/archives/33]]></description>
			<content:encoded><![CDATA[<p>This guy doesn&#8217;t deserve credit for this idea, but his explanation is on point.</p>
<p><a href="http://qualityonrails.com/archives/33">http://qualityonrails.com/archives/33</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joshsharpe.com/archives/skinny-models-yay/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails3 Upgrade Intro</title>
		<link>http://joshsharpe.com/archives/rails3-upgrade-intro</link>
		<comments>http://joshsharpe.com/archives/rails3-upgrade-intro#comments</comments>
		<pubDate>Wed, 26 Jan 2011 15:54:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshsharpe.com/?p=151</guid>
		<description><![CDATA[I launched into a rails 3 upgrade for my main side project last night. I&#8217;m going to use it as an excuse to blog about a bunch of things that I&#8217;ve been meaning to write about, but never got around to. Here&#8217;s a quick look at the scope of this app: $ rake stats +----------------------+-------+-------+---------+---------+-----+-------+ [...]]]></description>
			<content:encoded><![CDATA[<p>I launched into a rails 3 upgrade for my main side project last night.  I&#8217;m going to use it as an excuse to blog about a bunch of things that I&#8217;ve been meaning to write about, but never got around to.</p>
<p>Here&#8217;s a quick look at the scope of this app:</p>
<pre>
$ rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers          |  1867 |  1616 |      23 |     154 |   6 |     8 |
| Helpers              |   403 |   351 |       0 |      55 |   0 |     4 |
| Models               |  3310 |  2701 |      58 |     331 |   5 |     6 |
| Libraries            |   441 |   401 |       2 |      38 |  19 |     8 |
| Integration tests    |   600 |   340 |       4 |       6 |   1 |    54 |
| Functional tests     |  8763 |  8421 |      22 |      21 |   0 |   399 |
| Unit tests           |  5230 |  4794 |      85 |      10 |   0 |   477 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total                | 20614 | 18624 |     194 |     615 |   3 |    28 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 5069     Test LOC: 13555     Code to Test Ratio: 1:2.7
</pre>
]]></content:encoded>
			<wfw:commentRss>http://joshsharpe.com/archives/rails3-upgrade-intro/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 issue [...]]]></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>

