<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.vitarara.org/cms" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Vita Rara: A Life Uncommon - Ruby</title>
 <link>http://www.vitarara.org/cms/taxonomy/term/82/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>Mark&#039;s [J]Ruby on Rails Notes</title>
 <link>http://www.vitarara.org/cms/marks_jruby_notes</link>
 <description>&lt;h1&gt;Using GoldSpike to run Ruby on Rails in Standalone Mode&lt;/h1&gt;
&lt;p&gt;When running Ruby on Rails in a war using the GoldSpike servlets and context-param jruby.standalone is set to true you will need to use the jruby-complete jar file. Rails requires Gems in order to boot strap. I found that using the jruby jar file caused Rails to fail in initializer.rb when it tried to require &#039;logger&#039; which is included in the ActiveSupport gem.&lt;/p&gt;
&lt;p&gt;Also be sure to copy your required gems into WEB-INF/gems.&lt;/p&gt;
&lt;p&gt;[EDIT: Better yet use ruby gem install --install-dir WEB-INF/gems. ]&lt;/p&gt;
&lt;h1&gt;Model Auto Completer&lt;/h1&gt;
&lt;p&gt;&lt;a href=&quot;http://www.vitarara.org/cms/marks_jruby_notes&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.vitarara.org/cms/marks_jruby_notes#comment</comments>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/93">JRuby</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/7">Programming</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/82">Ruby</category>
 <pubDate>Wed, 20 Aug 2008 10:43:17 -0400</pubDate>
 <dc:creator>Mark</dc:creator>
 <guid isPermaLink="false">168 at http://www.vitarara.org/cms</guid>
</item>
<item>
 <title>Ruby Metaprogramming: Declaratively Adding Methods to a Class</title>
 <link>http://www.vitarara.org/cms/ruby_metaprogamming_declaratively_adding_methods_to_a_class</link>
 <description>&lt;p&gt;In this brief piece I will examine Ruby&#039;s support for metaprogramming and how to define class level methods that add instance methods to our class implementations at run time.&lt;/p&gt;
&lt;p&gt;Over the past few months I&#039;ve been learning Ruby on Rails. One of the most attractive features of Rails its declarative style of defining relationships and validations on models; and filters on actions. &lt;/p&gt;
&lt;p&gt;A simple example of this declarative style:&lt;/p&gt;
&lt;pre&gt;
class Party &amp;lt; ActiveRecord::Base
  has_many :addresses
end
&lt;/pre&gt;&lt;p&gt;
This class defines a Party model that can have many addresses. The simple &quot;has_many :addresses&quot; declaration is a great example of the power of Ruby. This simple statement adds a number of methods to our Party class, and allows us to easily manage relationships between our parties and their addresses.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.vitarara.org/cms/ruby_metaprogamming_declaratively_adding_methods_to_a_class&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.vitarara.org/cms/ruby_metaprogamming_declaratively_adding_methods_to_a_class#comment</comments>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/89">Metaprogramming</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/82">Ruby</category>
 <pubDate>Sun, 27 Jan 2008 22:36:01 -0500</pubDate>
 <dc:creator>Mark</dc:creator>
 <guid isPermaLink="false">158 at http://www.vitarara.org/cms</guid>
</item>
<item>
 <title>2007: A Retrospective</title>
 <link>http://www.vitarara.org/cms/2007_retrospective</link>
 <description>&lt;h2&gt;Personal Life&lt;/h2&gt;
&lt;p&gt;Sylva and I got married on April 28. It&#039;s been a real whirl wind since then. We are expecting our first child on April 1, 2008. My time with Sylva is special and precious. I have a great partner, and look forward to raising a family together. &lt;/p&gt;
&lt;p&gt;Overall business issues have dominated this year. I doubt that will be that case next year.&lt;/p&gt;
&lt;h2&gt;Business&lt;/h2&gt;
&lt;p&gt;It was a hard business year, but prospects for the future look good.&lt;/p&gt;
&lt;h2&gt;Quadran&lt;/h2&gt;
&lt;p&gt;Quadran has arrived. About 63,000 lines of Groovy, Java and JSP, with some XML files to wire it all together, and it&#039;s up and running. We turned on our first Quadran installation on December 5, 2007. This was the culmination of a process that began with an initial meeting in September of 2004, and the consummation of the development agreement in July of 2006.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.vitarara.org/cms/2007_retrospective&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.vitarara.org/cms/2007_retrospective#comment</comments>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/38">Freemasonry</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/68">Groovy</category>
 <category domain="http://www.vitarara.org/cms/java">Java</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/17">Quadran</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/82">Ruby</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/83">Ruby on Rails</category>
 <pubDate>Sun, 30 Dec 2007 14:51:33 -0500</pubDate>
 <dc:creator>Mark</dc:creator>
 <guid isPermaLink="false">151 at http://www.vitarara.org/cms</guid>
</item>
</channel>
</rss>
