<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruby on Architecture and Data Blog</title>
    <link>https://sadalage.com/tags/ruby/</link>
    <description>Recent content in Ruby on Architecture and Data Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 20 Jul 2015 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sadalage.com/tags/ruby/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using rake and activerecord to generate boilerplate DB Code</title>
      <link>https://sadalage.com/post/using-rake-and-activerecord-to-generate-boilerplate-db-code/</link>
      <pubDate>Mon, 20 Jul 2015 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/using-rake-and-activerecord-to-generate-boilerplate-db-code/</guid>
      <description>&lt;p&gt;IN many projects, there are tables which need default audit columns such as &lt;em&gt;Created_By&lt;/em&gt;, &lt;em&gt;Created_Date&lt;/em&gt;, &lt;em&gt;Modified_By&lt;/em&gt;, &lt;em&gt;Modified_date&lt;/em&gt; and other columns that need to be updated every time some actions are done against the tables and/or columns. This type of functionality can be implemented using triggers.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ruby OCI 2.0 Array binding</title>
      <link>https://sadalage.com/post/ruby_oci_20_array_binding/</link>
      <pubDate>Thu, 08 Oct 2009 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/ruby_oci_20_array_binding/</guid>
      <description>&lt;p&gt;We have been doing some data moving lately using Ruby and &lt;a href=&#34;http://ruby-oci8.rubyforge.org&#34;&gt;Ruby-OCI&lt;/a&gt;. We started with Ruby OCI 1.0 and did use prepared statements with bind variables (since we are using oracle database and pulling data from an oracle database and pushing data to an oracle database). Later we found this really cool feature in Ruby-OCI8 2.0 where you can bind a whole array and just make one database trip for many database operations.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
