<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>the rails loft - Comments for: Find or find_by_id</title>
    <link>http://railsloft.com/posts/find-or-find_by_id/comments_rss</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Comment on Find or find_by_id by Robb Shecter</title>
      <description>Robb Shecter says:&lt;br/&gt;I think that everything you wrote is true - that both return values (nil vs. exception) have their value.  &lt;br/&gt;&lt;br/&gt;But this doesn't mean that the API is consistent.&lt;br/&gt;&lt;br/&gt;I just got bitten by this inconsistency:  there's nothing in the invocation Object.find vs. Object.find_by_id to denote that an exception will be thrown.  &lt;br/&gt;&lt;br/&gt;Compare this to Object.save! and Object.save.  That sets up a great convention that .find unfortunately doesn't adhere to.&lt;br/&gt;</description>
      <pubDate>Sun, 27 Sep 2009 19:52:17 -0400</pubDate>
      <link>http://railsloft.com/posts/find-or-find_by_id</link>
      <guid>http://railsloft.com/posts/find-or-find_by_id-comment-22</guid>
    </item>
  </channel>
</rss>

