<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>vsbabu.org : ruby</title>
    <link>http://vsbabu.org/mt/archives/categories/ruby/</link>
    <description>Gluing passing thoughts to foregone conclusions</description>
    <dc:language>en-us</dc:language>
    <dc:creator>vsbabu@gmail.com</dc:creator>
    <dc:rights>Copyright 2008</dc:rights>
    <dc:date>2005-07-19T13:50:42+05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.661" />
    <admin:errorReportsTo rdf:resource="mailto:vsbabu@gmail.com"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

    <item>
      <title>Oracle with Active Record</title>
      <link>http://vsbabu.org/mt/archives/2005/07/19/oracle_with_active_record.html</link>
      <description>Thanks to ActiveRecord, it is a breeze to program Oracle using Ruby. Here&apos;s a quick note about how to do this on MS Windows.</description>
      <guid isPermaLink="false">1011@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ol>
<li><a href="http://rubyforge.org/frs/?group_id=167">Install Ruby</a></li>
<li>Install Active Record. Open a DOS shell and run <tt>gem install activerecord</tt>.</li>
<li>Install OCI8 driver for Ruby. Download <a href="http://rubyforge.org/projects/ruby-oci8/">ruby-oci8-mswin</a>
      and double click it.
</li>
</ol>

<p>
Assuming you've standard <tt>scott/tiger</tt> schema on some Oracle
connection (the <tt>TNSNAMES.ORA</tt> entry in the example below is named
as <tt>development</tt>), here is a small sample script that shows how to manipulate
the data in one table.
</p>]]></content:encoded>
      <dc:subject>ruby</dc:subject>
      <dc:date>2005-07-19T13:50:42+05:00</dc:date>
    </item>
    <item>
      <title>MPP to SQLite via Ruby</title>
      <link>http://vsbabu.org/mt/archives/2005/04/27/mpp_to_sqlite_via_ruby.html</link>
      <description>Combine MS Project with Ruby and SQLite to make reporting easier.</description>
      <guid isPermaLink="false">1001@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
I still love <a href="http://www.python.org/">Python</a>. Thought I will try my luck with <a href="http://www.ruby-lang.org/en/">Ruby</a>. I still like Python's syntax better. However, since everyone these days is talking about <a href="http://www.rubyonrails.com/">Ruby on Rails</a>, I will look into it as well. As part of that, I am in the process of figuring out Ruby and the components that make RoR.
</p>

<p>
I especially liked <a href="http://ar.rubyonrails.com/">ActiveRecord</a>. It turned out to be very easy to write a quick script on windows that opens up an MS Project file, loads the tasks into a <a href="http://www.sqlite.org/">SQLite</a> database and run some queries. Motivation for this is the fact that most reports that come with MS Project are not very useful to me. Once I get it into a SQL database, it becomes much more easier for me to automate further actions.
</p>

]]></content:encoded>
      <dc:subject>ruby</dc:subject>
      <dc:date>2005-04-27T17:42:32+05:00</dc:date>
    </item>


  </channel>
</rss>

