<?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"
	>
<channel>
	<title>Comments on: Ruby: Yeah, me too.</title>
	<atom:link href="http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/</link>
	<description>This is the web site of Steve Cohen, programmer, motorcyclist, kayaker and all around geek</description>
	<pubDate>Tue, 06 Jan 2009 08:19:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: scohen</title>
		<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/#comment-2310</link>
		<dc:creator>scohen</dc:creator>
		<pubDate>Fri, 02 Jun 2006 20:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.scohen.org/scohen/?p=73#comment-2310</guid>
		<description>Rahul,
A cursory glance at ActiveRecord's documentation indicates that you can perform introspection on an active record object's columns fairly easily using the columns method on any Active Record object. 

That said, I don't think ActiveRecord can discover table names, I'm not sure it does any validation that when you create an object. Then again, I'm not really authoratative on that subject. &lt;!-- X-spaminator-strike: whitelist, -3 --&gt;&lt;!-- X-spaminator-passed: IP check --&gt;&lt;!-- X-spaminator-passed: email check --&gt;&lt;!-- X-spaminator-passed: author url --&gt;&lt;!-- X-spaminator-passed: comment body --&gt;</description>
		<content:encoded><![CDATA[<p>Rahul,<br />
A cursory glance at ActiveRecord&#8217;s documentation indicates that you can perform introspection on an active record object&#8217;s columns fairly easily using the columns method on any Active Record object. </p>
<p>That said, I don&#8217;t think ActiveRecord can discover table names, I&#8217;m not sure it does any validation that when you create an object. Then again, I&#8217;m not really authoratative on that subject. <!-- X-spaminator-strike: whitelist, -3 --><!-- X-spaminator-passed: IP check --><!-- X-spaminator-passed: email check --><!-- X-spaminator-passed: author url --><!-- X-spaminator-passed: comment body --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul benegal</title>
		<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/#comment-2307</link>
		<dc:creator>rahul benegal</dc:creator>
		<pubDate>Fri, 02 Jun 2006 14:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.scohen.org/scohen/?p=73#comment-2307</guid>
		<description>Would highly appreciate if someone could tell me how to discover the tables in a database in ruby or rails. Without hardcoding db specific calls.

The ActiveRecord API doesn't seem to have anything, although it should.
Checked OG also, can't find anything.
DbTalk hardcodes mysql and postgres specific calls for metadata.

Pls respond to me on rahul_kumar at yahoo.com asap.

I need to get the tablenames, then certain table's columns names, and then their column info - something like phpMyadmin.&lt;!-- X-spaminator-passed: IP check --&gt;&lt;!-- X-spaminator-passed: email check --&gt;&lt;!-- X-spaminator-passed: author check --&gt;&lt;!-- X-spaminator-passed: author url --&gt;&lt;!-- X-spaminator-passed: comment body --&gt;</description>
		<content:encoded><![CDATA[<p>Would highly appreciate if someone could tell me how to discover the tables in a database in ruby or rails. Without hardcoding db specific calls.</p>
<p>The ActiveRecord API doesn&#8217;t seem to have anything, although it should.<br />
Checked OG also, can&#8217;t find anything.<br />
DbTalk hardcodes mysql and postgres specific calls for metadata.</p>
<p>Pls respond to me on rahul_kumar at yahoo.com asap.</p>
<p>I need to get the tablenames, then certain table&#8217;s columns names, and then their column info - something like phpMyadmin.<!-- X-spaminator-passed: IP check --><!-- X-spaminator-passed: email check --><!-- X-spaminator-passed: author check --><!-- X-spaminator-passed: author url --><!-- X-spaminator-passed: comment body --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Canavese</title>
		<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/#comment-370</link>
		<dc:creator>Paul Canavese</dc:creator>
		<pubDate>Thu, 19 Jan 2006 14:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.scohen.org/scohen/?p=73#comment-370</guid>
		<description>There is a pretty good article on Rails routes here: &lt;a href="http://manuals.rubyonrails.com/read/chapter/65" rel="nofollow"&gt;http://manuals.rubyonrails.com/read/chapter/65&lt;/a&gt;.

But, yes, indeed, it's hard to find Ruby/Rails documentation.</description>
		<content:encoded><![CDATA[<p>There is a pretty good article on Rails routes here: <a href="http://manuals.rubyonrails.com/read/chapter/65" rel="nofollow">http://manuals.rubyonrails.com/read/chapter/65</a>.</p>
<p>But, yes, indeed, it&#8217;s hard to find Ruby/Rails documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scohen</title>
		<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/#comment-369</link>
		<dc:creator>scohen</dc:creator>
		<pubDate>Thu, 19 Jan 2006 01:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.scohen.org/scohen/?p=73#comment-369</guid>
		<description>Two weeks to convert one page to CSS automatically qualifies you as a brain dead designer. At most, the task should take a day, especially when someone is paying good money to have it done.</description>
		<content:encoded><![CDATA[<p>Two weeks to convert one page to CSS automatically qualifies you as a brain dead designer. At most, the task should take a day, especially when someone is paying good money to have it done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Can't Wait</title>
		<link>http://www.scohen.org/scohen/2006/01/15/ruby-yeah-me-too/#comment-368</link>
		<dc:creator>Can't Wait</dc:creator>
		<pubDate>Thu, 19 Jan 2006 00:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scohen.org/scohen/?p=73#comment-368</guid>
		<description>Brain dead designers? Oh man ... I can't wait to hear the fallout  from this one.</description>
		<content:encoded><![CDATA[<p>Brain dead designers? Oh man &#8230; I can&#8217;t wait to hear the fallout  from this one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
