<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1" -->
<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/"
	>

<channel>
	<title>Say No To Milk, But Yes To Rails</title>
	<link>http://www.saynotomilk.com</link>
	<description>Milk doesn't do a body good.  Rails on the other hand...</description>
	<pubDate>Sat, 01 Mar 2008 18:19:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>
	<language>en</language>
			<item>
		<title>Safe Nils and Try</title>
		<link>http://www.saynotomilk.com/archives/34</link>
		<comments>http://www.saynotomilk.com/archives/34#comments</comments>
		<pubDate>Sat, 01 Mar 2008 18:17:46 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/34</guid>
		<description><![CDATA[Chris over at ozzm.org just posted an awesome little snippet of code.
class Object
  ##
  #   @person ? @person.name : nil
  # vs
  #   @person.try(:name)
  def try(method)
    send method if respond_to? method
  end
end
I took it a step further and allowed args and blocks [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/34/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rails Form Authenticity Token in Javascript</title>
		<link>http://www.saynotomilk.com/archives/33</link>
		<comments>http://www.saynotomilk.com/archives/33#comments</comments>
		<pubDate>Sat, 15 Dec 2007 08:10:07 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/33</guid>
		<description><![CDATA[Hey guys, just a basic little snippet to get and encode the form authenticity token new in Rails 2.0, but in Javascript.]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/33/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Selecting the First Field of a Form in Prototype</title>
		<link>http://www.saynotomilk.com/archives/32</link>
		<comments>http://www.saynotomilk.com/archives/32#comments</comments>
		<pubDate>Thu, 22 Nov 2007 00:59:34 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/32</guid>
		<description><![CDATA[Hey, I know it has been a while, but I thought I&#8217;d post a useful snippet I wrote for use in rails.
When you load a page with a form, you have to stop to think about adding in an onload event that will select the first field.  Should I do it inline because then [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/32/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Autoloading ActiveRecord Associations in the Console</title>
		<link>http://www.saynotomilk.com/archives/31</link>
		<comments>http://www.saynotomilk.com/archives/31#comments</comments>
		<pubDate>Fri, 24 Aug 2007 14:50:25 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/31</guid>
		<description><![CDATA[So, want to automagically load associations in script/console?  I know I do.  This little snippet did the trick, I got it here so have fun and don&#8217;t break anything!


# override the console's current behavior of not loading things automatically
class ActiveRecord::Associations::AssociationProxy
  def inspect
    load_target unless loaded?
    @target.inspect
 [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/31/feed/</wfw:commentRss>
		</item>
		<item>
		<title>View-Driven-Development by Behavior-Driven-Development and RSpec</title>
		<link>http://www.saynotomilk.com/archives/30</link>
		<comments>http://www.saynotomilk.com/archives/30#comments</comments>
		<pubDate>Sun, 29 Jul 2007 06:34:27 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[BDD]]></category>

		<category><![CDATA[RSpec]]></category>

		<category><![CDATA[VDD]]></category>

		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/30</guid>
		<description><![CDATA[One of the things that turned me on to BDD and RSpec was speccing views first, that the desired end would drive the development.&#160; In previous projects while using Test::Unit I would try to make educated guesses as to what would be needed in the model and controllers to derive the view without actually writing [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/30/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8216;attachment_fu&#8217; Documentation</title>
		<link>http://www.saynotomilk.com/archives/29</link>
		<comments>http://www.saynotomilk.com/archives/29#comments</comments>
		<pubDate>Wed, 27 Jun 2007 01:39:07 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[attachment_fu]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/29</guid>
		<description><![CDATA[The one thing lacking from &#8220;attachment_fu&#8221; is fantastic documentation, so I wrote up this little document for Rick Olson, the author of &#8220;attachment_fu&#8221;, which he will be including as the README file in the future.  Any suggestions/additions are appreciated.
You can download it here: attachment_fu.txt
attachment_fu is a plugin by Rick Olson (aka technoweenie ) and [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/29/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RailsConf</title>
		<link>http://www.saynotomilk.com/archives/28</link>
		<comments>http://www.saynotomilk.com/archives/28#comments</comments>
		<pubDate>Sun, 20 May 2007 23:17:28 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/28</guid>
		<description><![CDATA[Well, I just listened to the last keynote here at RailsConf.  I probably won&#8217;t be writing much about it, but I am making the presentation slides and their examples available in one big tgz:
PresentationSlides.tgz
Right now it doesn&#8217;t include Sunday&#8217;s presentations, but I&#8217;ll put them up once they&#8217;re available.  If you want to get [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/28/feed/</wfw:commentRss>
		</item>
		<item>
		<title>So Much To Learn</title>
		<link>http://www.saynotomilk.com/archives/27</link>
		<comments>http://www.saynotomilk.com/archives/27#comments</comments>
		<pubDate>Mon, 07 May 2007 03:53:49 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/27</guid>
		<description><![CDATA[I had someone this week tell me that I know how to do everything.  And while this is flattering, in a way, what I have come to understand very quickly this semester is that I know so little.
Most people who know me know I know a lot about technology.  In many realms it [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/27/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Coding for Failure - Not what it sounds like!</title>
		<link>http://www.saynotomilk.com/archives/26</link>
		<comments>http://www.saynotomilk.com/archives/26#comments</comments>
		<pubDate>Wed, 25 Apr 2007 01:25:32 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/26</guid>
		<description><![CDATA[I saw this interesting post about coding for failure:http://blogs.opennms.org/dj/?p=7
Thought it was relevant, and good advice.
]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/26/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email Email Email</title>
		<link>http://www.saynotomilk.com/archives/25</link>
		<comments>http://www.saynotomilk.com/archives/25#comments</comments>
		<pubDate>Mon, 23 Apr 2007 20:38:51 +0000</pubDate>
		<dc:creator>nathan.sutton</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.saynotomilk.com/archives/25</guid>
		<description><![CDATA[Traditional Offline Email:

Pros:

Fast
Can be read offline (well, DUH)

Cons:

Can&#8217;t be accessed from any computer

To clarify, if you download your messages and they are deleted on the server, you can&#8217;t redownload them.&#160; If you don&#8217;t delete them on the server, you keep redownloading them.



Traditional Online Email:

Pros:

Can be accessed from any computer

Cons:

Slow
Dependent upon their web interface working and [...]]]></description>
		<wfw:commentRss>http://www.saynotomilk.com/archives/25/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
