<?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>Millarian</title>
	<atom:link href="http://millarian.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://millarian.com</link>
	<description>Musings of a startup junkie and Ruby on Rails nerd.</description>
	<lastBuildDate>Sun, 22 Jan 2012 19:39:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>Jekyll Presentation at Ruby AZ</title>
		<link>http://millarian.com/programming/jekyll-presentation-at-ruby-az/</link>
		<comments>http://millarian.com/programming/jekyll-presentation-at-ruby-az/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 23:44:10 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2659</guid>
		<description><![CDATA[After switching from Wordpress to the Jekyll static site generator, I put together a short presentation on Jekyll to share with the Phoenix Ruby community. The slides cover some of the basics of what Jekyll is, the features it provides and a few gotchas we found along the way.]]></description>
				<content:encoded><![CDATA[<p>We recently switched from WordPress to the Jekyll static site generator at my <a href="http://flatterline.com/">Ruby development company</a>, Flatterline. So, I put together a Jekyll presentation based on that experience. Here are the slides, as presented at the <a href="http://rubyaz.org/">Phoenix Ruby meetup</a>.</p>
<div style="width:510px" id="__ss_10653919">
  <strong style="display:block;margin:12px 0 4px"><br />
    <a href="http://www.slideshare.net/Flatterline/jekyll-presentation-slides" title="Jekyll Presentation Slides" target="_blank">Jekyll Presentation Slides</a><br />
  </strong></p>
<p>  <iframe src="http://www.slideshare.net/slideshow/embed_code/10653919?rel=0" width="510" height="426" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/Flatterline" target="_blank">presentations</a> from <a href="http://flatterline.com/team/curtis-miller" target="_blank">Curtis Miller</a>
  </div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/jekyll-presentation-at-ruby-az/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Twitter replaced my RSS reader</title>
		<link>http://millarian.com/random/how-twitter-replaced-my-rss-reader/</link>
		<comments>http://millarian.com/random/how-twitter-replaced-my-rss-reader/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 23:25:37 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2628</guid>
		<description><![CDATA[I noticed recently that I haven't checked my RSS reader in some time, but I also feel like I've been reading a lot of articles. Not only that, but I've been reading articles that are interesting and relevant to me. How is that possible?

Then it dawned on me, the majority of articles I read and share are found through Twitter. Does Twitter accomplish all of the same features as my old RSS reader?]]></description>
				<content:encoded><![CDATA[<p>I used to subscribe to blogs via RSS through Bloglines, then Google Reader. Now, I don&#8217;t subscribe to them at all. Strangely, RSS readers have become an obsolete, thing of the past for me and I didn&#8217;t even realize it until recently.</p>
<p><strong>So, how has Twitter replaced my reader?</strong></p>
<ol>
<li><strong>I subscribe to people, not sites</strong>
<p>Subscribing to a site via RSS means that you subscribe to all of the content on that feed. With Twitter, you subscribe to people. The users you follow will (hopefully) weed out articles that are not interesting, so you don&#8217;t need to. If they don&#8217;t or if they have too much noise, then you can simply unsubscribe. Many RSS readers added &#8220;following&#8221; other users later, but by then it was too late.</p>
<p>Also, with only 140 characters, people get to the point about where the link goes. That makes it easy to ignore links that don&#8217;t sound interesting.</p>
</li>
<li><strong>I get direct recommendations</strong>
<p>People I follow tweet a link to an article. This is the simplest and easiest way to read interesting articles since I&#8217;m already following people I find interesting.</p>
</li>
<li><strong>I also get indirect recommendations</strong>
<p>People I follow retweet (RT) a post, from someone I don&#8217;t follow, that contains a link to an article. It seems like the volume of RTs has increased over the last 6 months; people are sharing more. This could be due to the ease with which the Twitter interface and mobile app allow RTs. This also gives me a chance to discover new, interesting people that I might want to follow.</p>
</li>
<li><strong>I can randomly discover articles</strong>
<p>I have several saved searches and lists that I check periodically. A majority of people I see on there are not people I follow. When I check these, I often discover content that I would have missed otherwise.</p>
<p>Combine that with straight up search and managing multiple accounts and I find random stuff all the time.</p>
</li>
<li><strong>I can bookmark an article</strong>
<p>I don&#8217;t always have time to read a link right away, so I use the favorite feature as a way to bookmark a tweet until I have time to come back and read it. If you look at my favorites, they are overwhelmingly tweets containing a link.</p>
</li>
<li><strong>I can share easily</strong>
<p>If I write something or find something that&#8217;s interesting, I&#8217;m likely to tweet/RT it. Twitter made it easy for sites to embed a share button, too. People can easily (un)follow me if it&#8217;s (un)interesting.</p>
</li>
</ol>
<p>When I look at the current feature set of my RSS reader, it does the same things I described above, but checking it has constantly felt like a chore. I&#8217;ve already worked Twitter into my daily routine for communication, so there isn&#8217;t another site I need to log into to find articles. Additionally, I also don&#8217;t need to manage 2 sets of people I&#8217;m following.</p>
<p><strong>Truthfully, I can&#8217;t think of a reason to keep using an RSS reader. Can you?</strong></p>
<p><strong>Update</strong>: Found these links from Business Insider: <a href="http://read.bi/c4r7KG">Twitter Has Killed RSS Readers</a> and PaidContent.org: <a href="http://cnt.to/mkx">The Death Of The RSS Reader</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/random/how-twitter-replaced-my-rss-reader/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Say hello to the new Phoenix OpenCoffee Club</title>
		<link>http://millarian.com/startups/say-hello-to-the-new-phoenix-opencoffee-club/</link>
		<comments>http://millarian.com/startups/say-hello-to-the-new-phoenix-opencoffee-club/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 00:43:31 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Startups]]></category>
		<category><![CDATA[Phoenix Entrepreneurs]]></category>
		<category><![CDATA[Phoenix Startups]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2609</guid>
		<description><![CDATA[In an effort to promote and foster entrepreneurship in Phoenix, the OpenCoffee Club now has it's own website that will enable the community to share information, ask questions and keep up on the latest news and events.]]></description>
				<content:encoded><![CDATA[<p>When the Phoenix chapter of OpenCoffee Club was started, it got by at first with a group on Yahoo&#8217;s Upcoming event site. That worked for a little while, but I don&#8217;t consider it to be a very good platform. Later, when <a rel="external" href="http://brian.shaler.name">Brian Shaler</a> took up the challenge presented by event organizers in Phoenix and created Eventification, a site dedicated to providing a single place to find out about <a rel="external" href="http://eventification.com">business and technology events in Phoenix</a>, we were one of the first to move our group over there. It&#8217;s a much better platform than it was when we first started promoting through it and we&#8217;re happy to see that it&#8217;s grown and improved.</p>
<p>However, as we pass the 18 month mark of organizing this weekly event for entrepreneurs, I felt that I&#8217;d like to do more with the group. What I&#8217;d really like is for the conversations and information sharing we&#8217;re doing at the weekly event to continue online. So, thanks to some prodding from <a rel="external" href="http://marcchung.com/">Marc Chung</a>, I threw together a site<sup>1</sup> so that entrepreneurs in Phoenix can ask questions, submit posts and keep up on the latest news and events<sup>2</sup>.</p>
<p>It&#8217;s intended to be a community site, so feel free to <a rel="external" href="http://phxoc.com/ask">ask questions</a> about small business, entrepreneurship, investment, technology or whatever else you can think of and we&#8217;ll do our best to answer them. Additionally, the community can <a rel="external" href="http://phxoc.com/submit">submit posts</a> that will appear on the site (after moderation). The posts can be text, video, images, audio, etc., which is pretty cool. I think there are other things that we could add to it, but I&#8217;d like to get some feedback first.</p>
<p><strong>So, without further ado, go check it out the new <a rel="external" href="http://phxoc.com">Phoenix OpenCoffee Club</a> website and let me know your thoughts!</strong></p>
<p><small><br />
1. I researched various options and settled on Tumblr as the platform because it provides all of the functionality I was looking for and is extremely easy to use. I also don&#8217;t need to host it myself&#8230;<br />
2. We&#8217;re still using and promoting scheduling events through Eventification. I even added a small bit of JavaScript that pulls the latest OpenCoffee Club event from the Eventification API and prominently displays it in the header. I&#8217;m also working on creating a series of <a rel="external" href="http://github.com/curtis/eventification-widgets">event distribution widgets</a> for Eventification.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/startups/say-hello-to-the-new-phoenix-opencoffee-club/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Arizona&#8217;s First Ruby Conference &#8211; SunnyConf 2010</title>
		<link>http://millarian.com/programming/ruby-on-rails/arizonas-first-ruby-conference-sunnyconf-2010/</link>
		<comments>http://millarian.com/programming/ruby-on-rails/arizonas-first-ruby-conference-sunnyconf-2010/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 23:45:13 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2597</guid>
		<description><![CDATA[Arizona's first Ruby conference is happening soon. There's a great group of speakers as well as lightning talks and hacking. If you're interested in Ruby, this is a conference you won't want to miss!]]></description>
				<content:encoded><![CDATA[<p>It started as an impromptu chat about getting more Ruby sessions into events like Desert Code Camp. A small group of rubyists met in the courtyard of DeVry University after the lunch break and kicked around some ideas. It seems like only yesterday that the group, which represented about 5 Phoenix companies, was asked &#8220;<strong>Wait&#8230; what about having a Ruby conference in AZ?</strong>&#8221; Now, that idea has blossomed into a full-fledged <a rel="external" href="http://sunnyconf.com">regional Ruby conference, SunnyConf 2010</a>.</p>
<div style="float:right;">
  <iframe  src="http://www.eventbrite.com/countdown-widget?eid=769378231" frameborder="0" height="376" width="220" marginheight="0" marginwidth="0" scrolling="no" ></iframe>
</div>
<p>SunnyConf is a single-track, one day conference taking place Sept. 25th in Phoenix. There will be 8 speakers and a keynote, as well as lightning talks. There will also be time after the conference set aside for hacking. We&#8217;ve managed to pull together a great group of rubyists to share their knowledge. The speakers include:</p>
<ul>
<li><a href="http://ashkenas.com">Jeremy Ashkenas</a> (Keynote)</li>
<li><a href="http://hashrocket.com/people/view/les-hill/">Les Hill</a> &amp; <a href="http://hashrocket.com/people/view/jim-remsik/">Jim Remsik</a> of <a href="http://hashrocket.com">HashRocket</a></li>
<li><a href="http://blog.headius.com/">Charles Nutter</a></li>
<li><a href="http://github.com/bmizerany">Blake Mizerany</a></li>
<li>and <a rel="external" href="http://sunnyconf.com/#speakers">more</a>!</li>
</ul>
<p>You can find all of the date, time and location information in the widget to the right. You can also visit the <a rel="external" href="http://sunnyconf.com">official SunnyConf website</a> or just jump straight over to Eventbrite to <a rel="external" href="http://sunnyconf.eventbrite.com">register for SunnyConf</a>.</p>
<p>Late September is a great time to visit Phoenix! If you live nearby (e.g., Southern California, Nevada, Utah, Colorado, New Mexico, etc.) then we&#8217;re only a short drive, and an even shorter flight, away. If you&#8217;re outside of that area, we have a major international airport, and plane tickets should be pretty cheap <img src="http://millarian.com/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>I encourage you to come out to Arizona in September to learn, hack and meet other rubyists. <strong>I hope to see you at the conference!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ruby-on-rails/arizonas-first-ruby-conference-sunnyconf-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE tries to be helpful when using JavaScript to set the href attribute</title>
		<link>http://millarian.com/programming/ie-tries-to-be-helpful-when-using-javascript-to-set-the-href-attribute/</link>
		<comments>http://millarian.com/programming/ie-tries-to-be-helpful-when-using-javascript-to-set-the-href-attribute/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 17:30:42 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2587</guid>
		<description><![CDATA[I have to believe that the developers behind Internet Explorer have good intentions. It might ruin my world view and trust in people if that turned out to not be the case. However, there are instances where they go too far.

In this case, Internet Explorer tries to be "helpful" by automatically setting the link text when you set the href attribute of an anchor tag. I present the details of when this will happen and how you can get around it.]]></description>
				<content:encoded><![CDATA[<p>Have you ever tried to set an anchor tag&#8217;s <code>href</code> attribute using JavaScript? It&#8217;s pretty easy, even without a JavaScript library (jQuery, Prototype, etc.). All you need to do is find (or create) the element and then set the href attribute to the desired text.</p>
<p><script src="http://gist.github.com/436998.js"></script></p>
<p>Now, try executing the following in IE:</p>
<p><script src="http://gist.github.com/437011.js"></script></p>
<p>What would you expect to be the value of <code>link.innerHTML</code>? Turns out that it is the same as the href value, &#8216;http://flatterline.com&#8217;. It seems that, on IE only, if the inner HTML of an anchor tag looks like a URL, then upon replacing the href, it will also replace the inner HTML. Try the same experiment, but with link text that does not look like a URL:</p>
<p><script src="http://gist.github.com/437016.js"></script></p>
<p>Inspecting the innerHTML value will show that it was not replaced.</p>
<p>This is a browser level quirk, so using a JavaScript library won&#8217;t save from this unless your library has specifically made a special case for this. I originally saw this when using jQuery and thought it might be a problem with the jQuery framework.</p>
<p>I think the best workaround here is that when modifying an anchor tag with JavaScript, set attributes first, then set the link text.</p>
<p><strong>What do you think? Have a different workaround or solution?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ie-tries-to-be-helpful-when-using-javascript-to-set-the-href-attribute/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IE7 resize window problem</title>
		<link>http://millarian.com/programming/ie7-resize-window-problem/</link>
		<comments>http://millarian.com/programming/ie7-resize-window-problem/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 16:30:39 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2582</guid>
		<description><![CDATA[When developing for the web, if there is one browser that will not look correct, it is almost guaranteed to be a version of IE.

This was the case when I recently encountered elements that appeared to have a fixed position when they were not styled in that way. The problem was only visible on IE7 and, as I discovered, was a known bug in IE since version 6.

This article describes two different solutions to this problem.]]></description>
				<content:encoded><![CDATA[<p>While developing an embeddable JavaScript widget, I ran across a problem in IE7 recently that was pretty strange. Some of the elements on the page appeared to be fixed (i.e., <code>position: fixed</code>) when really they were not.</p>
<p>I was able to track it down to the use of <code>position: relative</code> on these particular elements. If I added <code>position: relative</code> to other elements, they would also appear to be fixed. I proceed to try relative positioning on surrounding elements, but it was only at the body level that all elements behaved as they should.</p>
<p>Armed with these clues, I was able to find a post by <a rel="external" href="http://friendlybit.com/css/ie6-resize-bug/">Emil Stenström</a> that documented the existence of this bug in IE6 and IE7 beta 2. He has a great explanation about how to recreate it. His suggestion was to add relative positioning to the body tag, but the real problem, as he explained, was the use of auto margin to center the body element.</p>
<p>Seeing as how this was an embeddable widget, I didn&#8217;t really want to have the widget affect any elements outside of itself. So I opted to advise the embedding page to add a centered div around their content and remove the centering on the body tag. This corrected the problem and, once again, all was right in the world.</p>
<p><strong>Or was it?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ie7-resize-window-problem/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Honeypot Captchas for Rails</title>
		<link>http://millarian.com/programming/ruby-on-rails/honeypot-captchas-for-rails/</link>
		<comments>http://millarian.com/programming/ruby-on-rails/honeypot-captchas-for-rails/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 23:10:03 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2571</guid>
		<description><![CDATA[Honeypot captchas are a simple, unobtrusive way to try to combat automated form spam. I packaged some work I did a few years ago using this technique in Ruby on Rails forms and created a gem.]]></description>
				<content:encoded><![CDATA[<p>A while ago, I read a few articles on the technique of honeypot captchas and thought it was a pretty simple, but interesting, technique.</p>
<p>Essentially, with honeypot captchas you add fields into public facing forms that you expect to <strong>not</strong> be filled in, then you hide them through CSS (or other means). Since spam bots don&#8217;t usually apply CSS styles, the fields are visible to them, yet styled away for normal users. And we all know how spam bots love to fill in whatever fields they find&#8230; When the form is submitted, you simply check for these honeypot captcha fields to have values. If they do, then you stop processing the request and return as if everything completed a-okay.</p>
<p>I used this technique on a site several years ago and meant to package it into a gem. This weekend, I finally checked that off my todo list! Now, I&#8217;d like your feedback on whether this is useful and what I can do to make it better. Feel free to fork the repository and mess with the code. If you add a feature, please send me a pull request. Thanks!</p>
<p>You can find the repository here: <a rel="external" href="http://github.com/curtis/honeypot-captcha">Honeypot Captcha on Github</a>.</p>
<h3>References</h3>
<ul>
<li><a rel="external" href="http://haacked.com/archive/2007/09/11/honeypot-captcha.aspx">Honeypot Captcha by Phil Haack</a></li>
<li><a rel="external" href="http://nedbatchelder.com/text/stopbots.html">Stopping spambots with hashes and honeypots</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ruby-on-rails/honeypot-captchas-for-rails/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Rails Named Bind Variables</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-named-bind-variables/</link>
		<comments>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-named-bind-variables/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 16:30:28 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2549</guid>
		<description><![CDATA[Sometimes, Rails queries can get long and complicated. Using named bind variables is an easy way to give some context to the query and, when you need to supply the same value to multiple query conditions, can shorten the query parameters.]]></description>
				<content:encoded><![CDATA[<p>Have you ever come across a Ruby on Rails query that has so many conditions that it&#8217;s hard to figure out what is being replaced where? While this can be somewhat mitigated by using <a href="http://millarian.com/programming/ruby-on-rails/quick-tip-named_scope/">Rails named scopes</a>, you can also use named bind variables to make it easier to read. Named bind variables replace the question marks with symbols and you supply a hash with values for the matching symbol keys:</p>
<pre>Company.find(:first, :conditions => [
  "state = :state AND name = :name AND division = :division AND created_at > :some_date",
  { :state => :approved, :name => 'Flatterline', :division => 'First', :some_date => '2009-02-27' }
])</pre>
<p>This is also very handy when you have the same value for multiple parameters, since it will replace all matching bind variables with the value (e.g., the current time).</p>
<pre>Event.find(:first, :conditions => [
  "state = :state AND starts_at <= :now AND ends_at >= :now",
  { :state => :active, :now => Time.zone.now }
])</pre>
<h3>References</h3>
<ul>
<li><a rel="external" href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html">ActiveRecord::Base API documentation</a>
  </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-named-bind-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Cucumber Works-in-Progress</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-cucumber-works-in-progress/</link>
		<comments>http://millarian.com/programming/ruby-on-rails/quick-tip-cucumber-works-in-progress/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:30:30 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2527</guid>
		<description><![CDATA[Cucumber has a relatively new feature that allows you to tag individual scenarios as "should pass" versus "work-in-progress". Rake tasks are provided that run the two groups of tagged scenarios separately.]]></description>
				<content:encoded><![CDATA[<p>After upgrading to the latest gems, including cucumber and webrat, I noticed a deprecation message when trying to run <strong>rake features</strong>. There are new rake tasks now for running cucumber features:</p>
<p><script src="http://gist.github.com/194601.js"></script></p>
<p>So now, you can indicate which scenarios should pass and which are still be worked on, then run them separately if you like. Simply add some meta-data to your scenarios like this:</p>
<p><script src="http://gist.github.com/194602.js"></script></p>
<p>This will tag the scenario as a test that should work. If you have a work-in-progress, simply tag with <strong>@wip</strong>.</p>
<p>Read about some other <a rel="external" href="http://robots.thoughtbot.com/post/189412598/five-ridiculously-awesome-cucumber-and-webrat">ridiculously awesome cucumber and webrat features</a> on the thoughtbot blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ruby-on-rails/quick-tip-cucumber-works-in-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Rails Singularization of -ess</title>
		<link>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-singularization-of-ess/</link>
		<comments>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-singularization-of-ess/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 16:30:05 +0000</pubDate>
		<dc:creator><![CDATA[Curtis Miller]]></dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://millarian.com/?p=2515</guid>
		<description><![CDATA[The Ruby on Rails built-in inflections don't handle singularizing words like "business" or "address" correctly. Here's a quick way to make sure it's handled in your Rails project.]]></description>
				<content:encoded><![CDATA[<p>Have you ever created a Ruby on Rails application dealing with businesses or addresses? I&#8217;d be hard pressed to find someone who hasn&#8217;t.</p>
<p>Strangely, though, Rails does not have an inflection that deals with the singularization of these words correctly. From the command line, try singularizing the word &#8220;business&#8221;:</p>
<p><script src="http://gist.github.com/194495.js"></script></p>
<p>While this seems like a contrived situation, it&#8217;s actually not as hard to hit as you&#8217;d think (e.g., common code that needs to singularize the incoming argument). I saw this while using Acl9, a <a rel="external" href="http://github.com/be9/acl9">role-based authorization system for Rails</a>&#8230;</p>
<p><strong>Here&#8217;s a quick fix that you can add to your config/initializers/inflections.rb:</strong></p>
<p><script src="http://gist.github.com/194493.js"></script></p>
<p>You can read more about how this won&#8217;t be fixed in this <a rel="external" href="https://rails.lighthouseapp.com/projects/8994/tickets/2399-incorrect-inflectors-for-business-or-ness">ticket</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://millarian.com/programming/ruby-on-rails/quick-tip-rails-singularization-of-ess/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
