<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atom10full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
  <title>Ryan's Scraps - All Comments</title>
  <id>tag:ryandaigle.com,2008:mephisto/comments</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  
  <link href="http://ryandaigle.com/" rel="alternate" type="text/html" />
  <updated>2008-10-06T18:23:56Z</updated>
  <link rel="self" href="http://feeds.feedburner.com/RyansScrapsComments" type="application/atom+xml" /><entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Roxann</name>
    </author>
    <id>tag:ryandaigle.com,2006-01-30:34:7853</id>
    <published>2008-10-06T18:23:56Z</published>
    <updated>2008-10-06T18:23:56Z</updated>
    <link href="http://ryandaigle.com/articles/2006/1/30/how-to-write-an-early-lease-termination-letter" rel="alternate" type="text/html" />
    <title>Comment on 'How to write an early lease termination letter' by Roxann</title>
<content type="html">&lt;p&gt;Thank You for sharing this well written letter.  Good Karma returns twice fold:)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Yudi</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7620:7846</id>
    <published>2008-10-06T01:19:49Z</published>
    <updated>2008-10-06T01:19:49Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-connection-pools" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Connection Pools' by Yudi</title>
<content type="html">&lt;p&gt;well, twitter.com needs a code refactor now :-)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>invalidrecord</name>
    </author>
    <id>tag:ryandaigle.com,2008-08-20:7467:7839</id>
    <published>2008-10-05T04:03:39Z</published>
    <updated>2008-10-05T04:03:39Z</updated>
    <link href="http://ryandaigle.com/articles/2008/8/20/named-scope-it-s-not-just-for-conditions-ya-know" rel="alternate" type="text/html" />
    <title>Comment on 'Named Scope: It's Not Just for Conditions, Ya Know?' by invalidrecord</title>
<content type="html">&lt;p&gt;Ryan a plesure as always scanning your tips. Many thanks for an invaluable blog&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Hattie Ann</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7615:7821</id>
    <published>2008-10-03T00:27:31Z</published>
    <updated>2008-10-03T00:27:31Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Shallow Routes' by Hattie Ann</title>
<content type="html">&lt;p&gt;Now, Now, gentlemen.  There’s no point in getting so angry over a simple mistake, now is there?  It’s fixed now so let’s all be thankful for no more bickering, okay?  Great save there Ryan!!!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Kendall Sue</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7618:7814</id>
    <published>2008-10-01T13:02:11Z</published>
    <updated>2008-10-01T13:02:11Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-mailer-layouts" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Mailer Layouts' by Kendall Sue</title>
<content type="html">&lt;p&gt;I finally found the help I have been searching for.  Thank you so much for writing this!!!  But more than that, thanks a bunch for the help!!&lt;/p&gt;


	&lt;p&gt;Kendall&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>KeeKee</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7620:7809</id>
    <published>2008-09-30T14:39:46Z</published>
    <updated>2008-09-30T14:39:46Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-connection-pools" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Connection Pools' by KeeKee</title>
<content type="html">&lt;p&gt;Isn’t it just amazing how simple some people can make things seem when the rest of us go all around the world to do the same thing.  Thanks for reminding me to &lt;span class="caps"&gt;KISS&lt;/span&gt;. (Keep It Simple Stupid)&lt;/p&gt;


	&lt;p&gt;KeeKee&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Ryan Daigle</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7615:7806</id>
    <published>2008-09-30T11:17:09Z</published>
    <updated>2008-09-30T11:17:09Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Shallow Routes' by Ryan Daigle</title>
<content type="html">&lt;p&gt;Thanks for the clarification, Brent – I’ve cleaned up the post.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>S. Brent Faulkner</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7615:7773</id>
    <published>2008-09-25T17:04:40Z</published>
    <updated>2008-09-25T17:04:40Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Shallow Routes' by S. Brent Faulkner</title>
<content type="html">&lt;p&gt;As the author of the feature, I’m here to clear up a bit of confusion…&lt;/p&gt;


	&lt;p&gt;When you use the shallow option, it does not generate both routes… any routes that reference an explicit id will not require the parent id, but any routes that do not will.&lt;/p&gt;


	&lt;p&gt;For example, given the above example of users/articles/comments…&lt;/p&gt;


	&lt;p&gt;The path for all user would be: /users
The path for a specific user would be: /users/1&lt;/p&gt;


	&lt;p&gt;The path for all articles for a user would be: /users/1/articles
The path for a specific article would be: /articles/2
This is instead of /users/1/articles/2 (which is what it would be without the shallow option)&lt;/p&gt;


	&lt;p&gt;Similarly…&lt;/p&gt;


	&lt;p&gt;The path for all comments for a given article would be: /articles/2/comments
The path for a specific comment would be: /comments/3&lt;/p&gt;


	&lt;p&gt;If you want a route for &lt;span class="caps"&gt;ALL&lt;/span&gt; comments (or &lt;span class="caps"&gt;ALL&lt;/span&gt; articles) you’d need to explicitly map it.&lt;/p&gt;


	&lt;p&gt;One other enhancement that goes along with this is the :has_many option has been extended to support nesting in a similar manner to the :include option in ActiveRecord finds.&lt;/p&gt;


	&lt;p&gt;e.g. map.resources :users, :shallow =&amp;gt; true, :has_many =&amp;gt; { :articles =&amp;gt; :comments }&lt;/p&gt;


	&lt;p&gt;cheers.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Ryan Daigle</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7620:7760</id>
    <published>2008-09-24T11:29:54Z</published>
    <updated>2008-09-24T11:29:54Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-connection-pools" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Connection Pools' by Ryan Daigle</title>
<content type="html">&lt;p&gt;Michael – great suggestion, I’ll try to keep track of this in the future.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Sheri</name>
    </author>
    <id>tag:ryandaigle.com,2006-01-30:34:7754</id>
    <published>2008-09-23T16:10:28Z</published>
    <updated>2008-09-23T16:10:28Z</updated>
    <link href="http://ryandaigle.com/articles/2006/1/30/how-to-write-an-early-lease-termination-letter" rel="alternate" type="text/html" />
    <title>Comment on 'How to write an early lease termination letter' by Sheri</title>
<content type="html">&lt;p&gt;Hi Ryan!&lt;/p&gt;


	&lt;p&gt;Thanks so much…I have been searching for an intelligent way to put it…your letter was a huge help!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>aprendizbasico</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7615:7752</id>
    <published>2008-09-23T14:30:00Z</published>
    <updated>2008-09-23T14:30:00Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Shallow Routes' by aprendizbasico</title>
<content type="html">&lt;p&gt;Hi Ryan,&lt;/p&gt;


	&lt;p&gt;These routes are not generated :&lt;/p&gt;


	&lt;p&gt;articles_path #=&amp;gt; ’/articles’
comments_path #=&amp;gt; ’/comments’&lt;/p&gt;


	&lt;p&gt;This is probably a bug.&lt;/p&gt;


	&lt;p&gt;Thanks.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Pratik</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7618:7737</id>
    <published>2008-09-21T19:11:32Z</published>
    <updated>2008-09-21T19:11:32Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-mailer-layouts" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Mailer Layouts' by Pratik</title>
<content type="html">&lt;p&gt;Hey Scott,&lt;/p&gt;


	&lt;p&gt;Why not help instead of just leaving comments ? Least you could do is make an actual wishlist of things you would like to see changed/implemented in AM. You never know, it might actually happen ;-)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Mike Laurence</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7620:7710</id>
    <published>2008-09-19T16:22:16Z</published>
    <updated>2008-09-19T16:22:16Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-connection-pools" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Connection Pools' by Mike Laurence</title>
<content type="html">&lt;p&gt;Hey Ryan, thanks for all of the excellent info! Your blog has been responsible for countless improvements to the efficiency of my coding : )&lt;/p&gt;


	&lt;p&gt;I do have a suggestion regarding the format of the site: sometimes if I don’t hit the blog in a while, I can’t tell which “Edge Rails” entries refer to the current Edge or versions that have since gone into production. I wonder if you could add the version number somewhere in those entries?&lt;/p&gt;


	&lt;p&gt;Keep up the great writing!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>Koos Beens</name>
    </author>
    <id>tag:ryandaigle.com,2008-07-19:7082:7706</id>
    <published>2008-09-18T15:07:19Z</published>
    <updated>2008-09-18T15:07:19Z</updated>
    <link href="http://ryandaigle.com/articles/2008/7/19/what-s-new-in-edge-rails-nested-models" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Nested Model Mass Assignment' by Koos Beens</title>
<content type="html">&lt;p&gt;For anyone trying this, the patch is temporarily taken out of edge. Discussion here: http://groups.google.com/group/rubyonrails-core/browse_thread/thread/3c61e00916c365e5&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://ryandaigle.com/">
    <author>
      <name>z0rro</name>
    </author>
    <id>tag:ryandaigle.com,2008-09-07:7615:7705</id>
    <published>2008-09-18T12:51:13Z</published>
    <updated>2008-09-18T12:51:13Z</updated>
    <link href="http://ryandaigle.com/articles/2008/9/7/what-s-new-in-edge-rails-shallow-routes" rel="alternate" type="text/html" />
    <title>Comment on 'What's New in Edge Rails: Shallow Routes' by z0rro</title>
<content type="html">&lt;p&gt;You morons! How many times you want to point one stupid typo?! &lt;span class="caps"&gt;RTCF&lt;/span&gt; – Read The Comments First!&lt;/p&gt;</content>  </entry>
</feed>
