<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Ivey &amp; Brown: Amy Hoy's talk at RailsConf</title>
    <link>http://burr.iandb.net/articles/2006/06/27/amy-hoys-talk-at-railsconf</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Scrum, Ruby, Rails, and other Agile Practices</description>
    <item>
      <title>Amy Hoy's talk at RailsConf</title>
      <description>&lt;p&gt;Amy has posted the &lt;a href="http://www.slash7.com/articles/2006/06/26/railsconf-2006-talk-notes"&gt;slides&lt;/a&gt; from her very fun talk on scaffolding addiction.&lt;/p&gt;

&lt;p&gt;I hope people didn't skip it because they felt they knew the material already.  It was really funny, even if you don't use scaffolding and know how to build more complex apps.  It also had kittens.  Who doesn't like kittens?&lt;/p&gt;

&lt;p&gt;I also picked up an interesting idiom.  When you have a select list for multiple members of a &lt;tt&gt;has_may&lt;/tt&gt;, in the controller you can do:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;@submitted_kittens = Kitten.find(params[:kittens])
@jar.kittens.delete(@jar.kittens - @submitted_kittens)
@jar.kittens &amp;lt;&amp;lt; @submitted_kittens - @jar.kittens
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I'm wondering how this compares to&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;@jar.kittens_ids = params[:kittens]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and may need to fiddle with it a bit to see.  Either way, Amy's looks cooler.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Jun 2006 12:39:19 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:8e891cab-0dcc-486a-a2dc-80111b895683</guid>
      <author>mdi@iveyandbrown.com (Michael Ivey)</author>
      <link>http://burr.iandb.net/articles/2006/06/27/amy-hoys-talk-at-railsconf</link>
      <category>ruby</category>
      <category>railsconf2006</category>
      <category>kittens</category>
      <trackback:ping>http://burr.iandb.net/articles/trackback/5</trackback:ping>
    </item>
  </channel>
</rss>
