<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Turn an acts_as_tree structure into a select drop-down.</title>
	<atom:link href="http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/</link>
	<description>ruby, rails, objects and &#60;del&#62;politics&#60;/del&#62; markets</description>
	<lastBuildDate>Wed, 16 Dec 2009 21:48:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rabbit</title>
		<link>http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/comment-page-1/#comment-1713</link>
		<dc:creator>Rabbit</dc:creator>
		<pubDate>Tue, 12 Feb 2008 09:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/#comment-1713</guid>
		<description>Model.find_all_by_parent_id(nil) works, too. Oddly enough I believe I did use that format elsewhere in the program.

Something like this could definitely be turned into a plugin or generic helper method, especially with a block to determine output.</description>
		<content:encoded><![CDATA[<p>Model.find_all_by_parent_id(nil) works, too. Oddly enough I believe I did use that format elsewhere in the program.</p>
<p>Something like this could definitely be turned into a plugin or generic helper method, especially with a block to determine output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marquis</title>
		<link>http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/comment-page-1/#comment-1702</link>
		<dc:creator>Marquis</dc:creator>
		<pubDate>Mon, 11 Feb 2008 17:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.rabbitcreative.com/2008/02/01/turn-an-acts_as_tree-structure-into-a-select-drop-down/#comment-1702</guid>
		<description>Did something similar but with checkboxes the other day.  Three things:  1)  returning - Cool new tool, Ive been looking for something like this.
2)  find(:all, :conditions =&gt; [ &#039;parent_id IS NULL&#039; ]) - how about find_all_by_parent_id(NULL) ??
3)  option_groups_from_collection_for_select ??</description>
		<content:encoded><![CDATA[<p>Did something similar but with checkboxes the other day.  Three things:  1)  returning &#8211; Cool new tool, Ive been looking for something like this.<br />
2)  find(:all, :conditions =&gt; [ 'parent_id IS NULL' ]) &#8211; how about find_all_by_parent_id(NULL) ??<br />
3)  option_groups_from_collection_for_select ??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
