<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Abstract model for many databases]]></title>
		<link>http://railsforum.com/viewtopic.php?id=51187</link>
		<description><![CDATA[The most recent posts in Abstract model for many databases.]]></description>
		<lastBuildDate>Thu, 24 Jan 2013 09:00:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Abstract model for many databases]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158541#p158541</link>
			<description><![CDATA[<p>I am work in the code generation side. My needs the conversion of VB for the sql data bases in my projects. I am currently using an off line qr code generator, It is an older one and now it is having some problem and not providing the results more accurately. I am searching for a newer one. Please produce some attachments about the newest PHP converters along with their features and price details.</p><br /><br /><p><a href="http://www.kwiqrlink.com/">QR code generator</a><br /><a href="http://www.kwiqrlink.com/">QR codes</a></p>]]></description>
			<author><![CDATA[dummy@example.com (peeterminy)]]></author>
			<pubDate>Thu, 24 Jan 2013 09:00:25 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158541#p158541</guid>
		</item>
		<item>
			<title><![CDATA[Abstract model for many databases]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=156862#p156862</link>
			<description><![CDATA[<p>Hi, I&#039;m new on forum, because really i need help. I read many posts, articles about abstract models, and I don&#039;t have idea how to resolve my problem. At beginning I want to note: having five tables managed from one controller is very importand for my app. <br />So start:<br />My app is a manufacturing visualisation system, so I have many, many records every hour, so I want to store strings on one table, booleans on other, integers on other, etc. Now I store all values as strings, this is a sueside, it&#039;s slow in searching and database size increase very fast. <br />What I try to do: <br />Have one base model named Value with child models named StringValue, IntegerValue, etc. In every model has for example method find_sorted_n_values(n), with difference in sorting method in every model, because every datatype is specific for me.</p><p>Any Idea how to switching between tables in Value model depending on datatype. And one think more, every value has meter_id, and Meter model stores datatype returned by that meter.</p><p>Thanks for any suggestions another than bar and foo solutions.</p>]]></description>
			<author><![CDATA[dummy@example.com (czuczu1024)]]></author>
			<pubDate>Tue, 06 Nov 2012 22:40:17 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=156862#p156862</guid>
		</item>
	</channel>
</rss>
