<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Form for Single Table Inheritance]]></title>
		<link>http://railsforum.com/viewtopic.php?id=52288</link>
		<description><![CDATA[The most recent posts in Form for Single Table Inheritance.]]></description>
		<lastBuildDate>Sat, 02 Feb 2013 01:19:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Form for Single Table Inheritance]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158749#p158749</link>
			<description><![CDATA[<p>Hello all, I&#039;m building a restaurant menu with various product, some of which have a particular behaviors: adding or removing ingredients. I&#039;m thinking of using STI to modelize it.<br />The problem is with the form, I can&#039;t decide if it is better to construct two different _form partials, or only one.<br />Actually the fields differ for only one, but it a bit complex because it&#039;s a list of ingredients from which choose.</p><p>In case of single _form, I&#039;m thinking of load the list asynchronously...<br />Routes should be the same for every models, so in case of two _form, I&#039;m thinking of a first select box to choose, and then render the correct one. The variable will be on the query string for faster access.</p>]]></description>
			<author><![CDATA[dummy@example.com (Iazel)]]></author>
			<pubDate>Sat, 02 Feb 2013 01:19:20 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158749#p158749</guid>
		</item>
	</channel>
</rss>
