<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Creating tables through loops]]></title>
		<link>http://railsforum.com/viewtopic.php?id=38975</link>
		<description><![CDATA[The most recent posts in Creating tables through loops.]]></description>
		<lastBuildDate>Sat, 22 May 2010 07:54:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Creating tables through loops]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=125060#p125060</link>
			<description><![CDATA[<p>Hi,</p><p>Thanks for your response.</p><p>First I like to post the code</p><p>&lt;tr&gt;<br />&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;p_date&quot;)%&gt;<br />&lt;/td&gt;&nbsp; &nbsp; </p><p>&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;amount&quot;) %&gt;<br />&lt;/td&gt;&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;posting&quot;) %&gt;<br />&lt;/td&gt;&nbsp; &nbsp; </p><p>&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;head&quot;) %&gt;<br />&lt;/td&gt;&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;category&quot;)%&gt;<br />&lt;/td&gt;<br />&nbsp; &nbsp; <br />&lt;td&gt;<br />&lt;%= options_from_collection_for_select(@asset, &quot;id&quot;, &quot;narration&quot;) %&gt;<br />&lt;/td&gt;&nbsp; &nbsp; <br />&nbsp; &nbsp; <br />The data,s are all collected from another page and produced under<br />this &lt;td&gt;&lt;/td&gt;.so if I submit one data on another page the all<br />data,s just I submitted will be shown on this link.So no problem there.But if goes on with continuous submission the whole data,s<br />are produced under the same&lt;td&gt;&lt;/td&gt;(not in an vertical way,that is the problem)so that it views like a cluster of data,s and&nbsp; looks&nbsp; very untidy.so what I needed is that if the data is stored on the first&lt;td&gt;&lt;/td&gt; an another &lt;td&gt;&lt;/td&gt; have to be generated under the first one and the second data that I am submitting on another page have to viewed on the second &lt;td&gt;&lt;/td&gt;.Like that the process continous.... Hope you have got a better idea. <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thank You.</p>]]></description>
			<author><![CDATA[dummy@example.com (jkruby)]]></author>
			<pubDate>Sat, 22 May 2010 07:54:13 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=125060#p125060</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating tables through loops]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=125047#p125047</link>
			<description><![CDATA[<p>Not exactly sure what the question is..</p><p>You want a table to be on the page when the page is loaded, and if there is data in that table you would like another table to appear below it?</p>]]></description>
			<author><![CDATA[dummy@example.com (RailsRhino)]]></author>
			<pubDate>Fri, 21 May 2010 22:58:55 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=125047#p125047</guid>
		</item>
		<item>
			<title><![CDATA[Creating tables through loops]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=124459#p124459</link>
			<description><![CDATA[<p>Hi all,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Can anyone tell how to produce tables through loops.ie there will a table instantly on the page.If data got filled in that table an additional table with blank style have to be formed beneath the current table that data and the process will be repeated.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thank You.</p>]]></description>
			<author><![CDATA[dummy@example.com (jkruby)]]></author>
			<pubDate>Sat, 15 May 2010 17:56:50 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=124459#p124459</guid>
		</item>
	</channel>
</rss>
