<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jamie's Weblog &#187; Ruby on Rails</title>
	<atom:link href="http://jamie.ideasasylum.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamie.ideasasylum.com</link>
	<description>Jamie's thoughts, ideas, musings and utter drivel.  Procrastination with a purpose!</description>
	<lastBuildDate>Wed, 11 Aug 2010 08:58:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>KISSmetrics&#8217; Bizarre Pricing</title>
		<link>http://jamie.ideasasylum.com/2010/07/kissmetrics-bizarre-pricing/</link>
		<comments>http://jamie.ideasasylum.com/2010/07/kissmetrics-bizarre-pricing/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 11:03:39 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/?p=1146</guid>
		<description><![CDATA[I&#8217;ve been using the beta version of KISSmetrics on Shutter Scouts to track conversion rates. Frankly, this was more of an experiment as the site hasn&#8217;t really been promoted and opened up yet but I wanted the get the analytics infrastructure in place first. KISSmetrics allows you to track events in a user-specified conversion funnel [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the beta version of KISSmetrics on <a href="http://shutterscouts.com">Shutter Scouts</a> to track conversion rates. Frankly, this was more of an experiment as the site hasn&#8217;t really been promoted and opened up yet but I wanted the get the analytics infrastructure in place first. KISSmetrics allows you to track events in a user-specified conversion funnel with simple charts showing (for example):</p>
<p><a href="http://jamie.ideasasylum.com/wordpress/wp-content/uploads/funnel.png"><img class="aligncenter size-medium wp-image-1150" title="Funnel" src="http://jamie.ideasasylum.com/wordpress/wp-content/uploads/funnel-300x93.png" alt="" width="300" height="93" /></a></p>
<p>KISSmetrics got a lot of publicity around the startup and web development blogs/news sites so it was understandable to have assumed that startups were their target market. This month, KISSmetrics came out of beta and announced their pricing:</p>
<ul>
<li>$149 / month: 1m events tracked</li>
<li>$399 / month: 5m events tracked</li>
<li>$699 / month: 10m events tracked</li>
<li><em>No</em> free plan</li>
</ul>
<p>W&#8230;T&#8230;F?! Frankly, I was gobsmacked and shocked when I received the pricing announcement. What the hell was all this? Were these annual prices? Nope. Who was this service being aimed at? Certainly not any sort of bootstrapped startup business. I don&#8217;t mind the lack of a free plan (in fact, I think it&#8217;s a good move) but where&#8217;s the $10-20/month startup plan for &lt; 10,000 events? And then I got angry. I&#8217;d liked KISSmetrics. As the name implied I thought it was simple. I wrote <a href="http://github.com/hopeless/simplekiss">a Rails plugin</a> for the service to help rails developers easily send events to KISSmetrics. I spoke about the service at my local Ruby developers group. I <em>recommended</em> the service. Now I have to go and retract that recommendation. Even on the &#8220;small&#8221; plan, KISSmetrics would need to give you insights that save your business at least $200 <em>every single month</em> and all within 1m events. I wonder how many other people will retract their recommendations for KISSmetrics?</p>
<p>If I put my cynical hat on, I wonder if KISSmetrics&#8217; business plan is actually about extracting large wads of cash from the bank accounts of venture-backed startups&#8230; because that pricing is far too rich for anyone else. Though I can&#8217;t help feel that for every $149/month plan they sell now, they could have sold more than 15 $10/month plans. It also means I&#8217;ll be staying well away from their <a href="http://www.kissinsights.com/">KISSinsights</a> product (and anything else <a href="http://www.crunchbase.com/company/kiss-metrics">that team</a> may produce) and we should all be more wary about using pricing-unannounced-beta-products in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2010/07/kissmetrics-bizarre-pricing/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Impression of a Git</title>
		<link>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/</link>
		<comments>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 15:49:33 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[git svn]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/?p=1103</guid>
		<description><![CDATA[Git, in case you don&#8217;t know and haven&#8217;t met a recent Git zealot, is the latest/greatest/coolest/funkiest SCM ever invented. Personally, I think Subversion still has a lot going for it for individuals but I&#8217;ve moved two project to Git for the following reasons: Heroku (a Ruby on Rails host) uses Git as its deployment mechanism [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Git homepage" href="http://git-scm.com/">Git</a>, in case you don&#8217;t know and haven&#8217;t met a recent Git zealot, is the latest/greatest/coolest/funkiest SCM ever invented. Personally, I think Subversion still has a lot going for it for individuals but I&#8217;ve moved two project to Git for the following reasons:</p>
<ol>
<li><a title="Heroku homepage" href="http://heroku.com">Heroku</a> (a Ruby on Rails host) uses Git as its deployment mechanism</li>
<li>Git supports branches as a more native concept than Subversion</li>
</ol>
<p>Here&#8217;s a few things I&#8217;ve noticed about Git:</p>
<ol>
<li> The wording seems off:
<ul>
<li> git checkout &lt;mybranch&gt; is used to change between branches in your working copy. In Subversion, checkout is what you do to get an initial copy of the repository. git switch &lt;mybranch&gt; seems like a more accurate command.</li>
<li> By default, Git doesn&#8217;t commit the changed files. You need to call git add &lt;my file/path&gt; to add those files to the commit. If you delete a file, you call git rm &lt;my file&gt; to add the removal of the file to the commit. To remove the file from the commit, you call git checkout&#8230; it just seems quite confusing. I like the way this prevents files being accidently committed but I think it could have been made clearer. If you want Git to behave like svn, you call git commit -a</li>
<li>git branch &lt;my branch&gt; actually creates the branch rather than changes to it.</li>
</ul>
</li>
<li> Because Git is a distributed SCM, the branches you create locally are not necessarily present on a remote copy of the repository. Likewise, if you git pull a remote repository, you don&#8217;t automatically get the branches. The worst thing is tagging. This is very useful for marking releases but tags are not pushed to a remote repo unless you pass an optional flag. This seems dangerous because if you forget this flag the tag only exists on your computer and not the master repository.</li>
<li> Also, it&#8217;s worth remembering that Git isn&#8217;t during a remote backup of your code until you actually do a push to a remote server</li>
<li> Annoyingly, when you switch branches using git checkout, it doesn&#8217;t seem to warn of uncommitted files (or, as is Git&#8217;s way, it might warn but does it anyway). This has led to some unintended contamination between branches and is just something to watch out for.</li>
<li> Unlike Subversion, the cmd-line really is the best way to experience Git. I used the nbGit plugin for Netbeans but found it incredibly slow and clunky. Perhaps better tools will arrive.</li>
<li> The main hosting site for Git is <a title="GitHub homepage" href="http://github.xom">Github</a> which is great for open source projects (social forking!) but I&#8217;ve chosen <a title="Codebase homepage" href="http://codebasehq.com">Codebase</a> as I can host Git and Subversion projects, along with their associated tickets and milestones. Codebase can also do an automatic push which I might use to ensure each push to the production repository is pushed onto Heroku.</li>
<li> Worryingly, I have managed to corrupt my local repo though it might have been due to a power failure</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2010/01/impression-of-a-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dual Pricing</title>
		<link>http://jamie.ideasasylum.com/2008/12/dual-pricing/</link>
		<comments>http://jamie.ideasasylum.com/2008/12/dual-pricing/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 09:00:37 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dual pricing]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/?p=1000</guid>
		<description><![CDATA[About 2 weeks ago I was thinking about the dual pricing issue in Ireland (whereby UK stores/brands markup their prices for the Irish market). There are many reasons given for this dual pricing (tax, wages, rent, transportation and most often, currency). It occurred to me that some of the major price differences can easily be [...]]]></description>
			<content:encoded><![CDATA[<p>About 2 weeks ago I was thinking about the dual pricing issue in Ireland (whereby UK stores/brands markup their prices for the Irish market). There are many reasons given for this dual pricing (tax, wages, rent, transportation and most often, currency). It occurred to me that some of the major price differences can easily be accounted for: VAT rates and currency conversions.</p>
<p>That night I coded up a basic ruby on rails application which did just that. I waited a week whilst the .ie registration was processed and then spent another 2 evenings working on the theme. Another few more hours here and I present to you:</p>
<p><a title="Dual Pricing dot ie" href="http://dualpricing.ie">dualpricing.ie</a></p>
<p>It&#8217;s a simple little site that lets you enter a store, an item and the UK £ and Irish € prices. It does the simple calculations to remove the appropriate VAT and then converts the £ to €. The items and stores are tabulated so you can see who the worst offenders are. Give it a go with the price tags you&#8217;ve taken off the Christmas presents (you <em>did</em> remember to remove the prices before wrapping, didn&#8217;t you?). I&#8217;m morbidly curious to see how the tiny server it&#8217;s running on will handle the load.</p>
<p><strong>I&#8217;m trying not to be too judgemental with this site</strong>. There are obviously cost differences between UK and Ireland, and I&#8217;m sure Irish prices will always be a little bit more expensive, but I&#8217;m also convinced that many of these retailers are exploiting the Irish consumer. After all, if the retailers were just converting from UK prices and adding in a little Irish cost factor, why would our € prices be such neat numbers? Surely £10 should convert to something like €13.37 not €15? Anyway, it is not my intention to understand, criticise or justify these price differences — just expose them.</p>
<p><strong>Didn&#8217;t all the stores remove their UK prices?</strong> Actually, some did. Here&#8217;s my notes from a morning in Mahon point shopping centre:</p>
<ul>
<li>Next: places a label over the UK £ price (but you can easily see through or around it)</li>
<li>Ladybird: detaches the £ price (no doubt, to &#8220;prevent confusion&#8221;)</li>
<li>Debenhams: dual priced labels except on fragrances</li>
<li>Zara: No UK prices</li>
<li>Ecco: No UK prices</li>
<li>Principles: detached the UK prices</li>
<li>River Island: places a thick label over the UK price (can&#8217;t see through it, or easily remove it like in Next)</li>
</ul>
<p>Where stores have removed their dual prices it&#8217;s still easy to look them up on their UK shopping sites. I only wish I could make this happen automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2008/12/dual-pricing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Rails Plugins with Git on Windows</title>
		<link>http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/</link>
		<comments>http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 22:28:17 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/</guid>
		<description><![CDATA[Ok, so everyone is the rails world seems to have moved over to Git for their version control (which is fine if you&#8217;re into the sort of thing). The downside of this is that Windows developers are left without much help when they want to install all those fabulous plugins hosted on GitHub (since most [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so everyone is the rails world seems to have moved over to Git for their version control (which is fine if you&#8217;re into the sort of thing).  The downside of this is that Windows developers are left without much help when they want to install all those fabulous plugins hosted on GitHub (since most Git users are on Linux and most Rails hackers are on Macs).  Well, here&#8217;s the trick I just learnt:</p>
<p>Go read this introduction to <a href="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies">Git on Windows</a> and install the command-line package of <a href="http://code.google.com/p/msysgit/">msysgit</a>.  Now, if you&#8217;ve got Rails 2.1 or later you should be able to do</p>
<p><code>ruby script\plugin install git://github.com/thoughtbot/shoulda.git</code></p>
<p>but it will fail with various errors, probably including &#8220;Plugin Not Found&#8221;.  Instead, try:</p>
<p><code>ruby script\plugin install <strong>http</strong>://github.com/thoughtbot/shoulda.git<strong>/</strong></code></p>
<p>It&#8217;s annoying but it works.  Of course, you could just use git to clone the plugin into the directory but then you have to actually install it and I found it just got messy.</p>
<p><strong>Update</strong>: I noticed that with a new Rails project I didn&#8217;t have this issue and the first method works fine.  I&#8217;d upgraded the old pre-2.1 project but obviously something didn&#8217;t stick.  So another method might be to recreate the project.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>What I&#8217;ve been up to</title>
		<link>http://jamie.ideasasylum.com/2008/04/what-ive-been-up-to/</link>
		<comments>http://jamie.ideasasylum.com/2008/04/what-ive-been-up-to/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 20:47:43 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/?p=939</guid>
		<description><![CDATA[So, I&#8217;ve been out of work for the past 3 months since the accident but recently I haven&#8217;t been entirely idle.  I&#8217;ve finished off the personal finance site I first talked about almost a year ago and I&#8217;ve also written 2 other Ruby-on-Rails websites and got them deployed.  These aren&#8217;t fancy sites but they fill [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been out of work for the past 3 months since the accident but recently I haven&#8217;t been entirely idle.  I&#8217;ve finished off the personal finance site I first talked about almost a year ago and I&#8217;ve also written 2 other Ruby-on-Rails websites and got them deployed.  These aren&#8217;t fancy sites but they fill various personal needs.  I&#8217;ll announce each site when I&#8217;m happy to let others play with them.</p>
<p>Ruby is actually a pretty cool language and Rails is certainly a reasonably quick framework to use (once you figure out the documentation and various magic incantations).  It took a lot longer than I was hoping to learn the Ruby language and understand the Rails framework, but then I was only working on it occasionally and I&#8217;m not a web developer.  It&#8217;s certainly better than writing Java code and adds another feather to my l33t programming skillz <img src='http://jamie.ideasasylum.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   Java for work; Ruby for pleasure.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2008/04/what-ive-been-up-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional Validation in Rails</title>
		<link>http://jamie.ideasasylum.com/2007/07/conditional-validation-in-rails/</link>
		<comments>http://jamie.ideasasylum.com/2007/07/conditional-validation-in-rails/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 00:52:39 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[BalanceTrackr]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/2007/07/conditional-validation-in-rails/</guid>
		<description><![CDATA[I was implementing the Strategy pattern presented here to avoid the limitations of Single-Type Inheritance but I wanted to implement some conditional validations based on the type: If it&#8217;s a &#8220;MonthDay-based&#8221; recurring event (e.g. 23rd of every month), then the monthday field must be present If it&#8217;s a &#8220;Date-based&#8221; recurring event (e.g. 1st August, repeating [...]]]></description>
			<content:encoded><![CDATA[<p>I was implementing the Strategy pattern <a href="http://www.last100meters.com/2007/6/1/clean-code-tutorial-use-a-strategy-pattern-instead-of-inheritance" title="Strategy pattern in Rails instead of STI">presented here</a> to avoid the limitations of Single-Type Inheritance but I wanted to implement some conditional validations based on the type:</p>
<ul>
<li>If it&#8217;s a &#8220;MonthDay-based&#8221; recurring event (e.g. 23rd of every month), then the monthday field must be present</li>
<li>If it&#8217;s a &#8220;Date-based&#8221; recurring event (e.g. 1st August, repeating every year), then the frequency and unit fiels must be present</li>
</ul>
<p>It turns out that the validates_XXX methods can be an &#8216;if&#8217; parameter but it didn&#8217;t seem to work as expected.  You can&#8217;t just do</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">validates_presence_of <span style="color:#ff3333; font-weight:bold;">:count</span>, 
  <span style="color:#ff3333; font-weight:bold;">:if</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> recurring_strategy == <span style="color:#996600;">&quot;WeekDay&quot;</span></pre></div></div>

<p>but a quick <a href="http://www.google.com/codesearch?hl=en&amp;lr=&amp;q=lang%3Aruby+validates_.*%2C+%3Aif+%3D%3E+%3A.*%3D%3D&amp;btnG=Search">Google codesearch</a> revealed a more standard pattern:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">validates_numericality_of <span style="color:#ff3333; font-weight:bold;">:count</span>, 
  <span style="color:#ff3333; font-weight:bold;">:if</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#CC0066; font-weight:bold;">Proc</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">|</span>s<span style="color:#006600; font-weight:bold;">|</span> s.<span style="color:#9900CC;">recurring_strategy</span> == <span style="color:#996600;">&quot;WeekDay&quot;</span> <span style="color:#006600; font-weight:bold;">&#125;</span></pre></div></div>

<p>A more experienced ruby&#8217;er could tell you exactly what this is doing but I&#8217;ll hazard a guess that <code>Proc.new</code> creates a new procedure that&#8217;s called with the parameter <code>s</code> to test the if condition.  Anyway, it seems to work.  The only hassle I had it that in <a href="http://www.last100meters.com/2007/6/1/clean-code-tutorial-use-a-strategy-pattern-instead-of-inheritance">the strategy example</a> they overrode the payment_strategy accessor which isn&#8217;t really necessary and makes accessing the &#8216;type&#8217; of strategy quite difficult.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2007/07/conditional-validation-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BalanceTracker: Introduction</title>
		<link>http://jamie.ideasasylum.com/2007/06/balancetracker-introduction/</link>
		<comments>http://jamie.ideasasylum.com/2007/06/balancetracker-introduction/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 23:06:17 +0000</pubDate>
		<dc:creator>Jamie Lawrence</dc:creator>
				<category><![CDATA[BalanceTrackr]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://jamie.ideasasylum.com/2007/06/balancetracker-introduction/</guid>
		<description><![CDATA[I previously used an Excel spreadsheet to budget my quarterly student stipend and ensure that rent was paid, known expenses were accounted for and Visa cards paid off. This worked reasonably well but marriage and moving back to Ireland has made the personal finances a little more complicated: We each get paid at different times [...]]]></description>
			<content:encoded><![CDATA[<p>I previously used an Excel spreadsheet to budget my quarterly student stipend and ensure that rent was paid, known expenses were accounted for and Visa cards paid off.  This worked reasonably well but marriage and moving back to Ireland has made the personal finances a little more complicated: We each get paid at different times of the month, there are a lot more bills and we&#8217;re trying to live beyond just survival.  This means that my little spreadsheet isn&#8217;t as useful as it used to be.</p>
<p>Years ago I&#8217;d tried to use Microsoft Money but no UK/Irish banks support automated transaction downloading so I&#8217;d spend 2-3 hours a month inputting the transaction data, correcting it and fudging it to make the balances match.  Then I&#8217;d spend some time trying to categorise things so I could track my spending in certain areas.  It turned out that most of the time I was just getting cash out of the ATM.  And I when I started my PhD, I couldn&#8217;t even make Money understand that I was only paid quarterly &#8212; so I&#8217;d apparently spend 2 out of 3 months in serious poverty.  Personal finance applications like Money are designed by accountants, for accountants or for non-accountants trying to be accountants or who need to communicate with real accountants.  They&#8217;re just not designed for real usage.</p>
<p>Like a good software developer, I decided that this problem needed some programming and the idea was simple: keep it simple.  All I need to answer is a few basic question:</p>
<ul>
<li>Can I pay the known expenses this month (Rent, loans, etc)?</li>
<li>Given my current rate of spending, will my account ever go below zero, and when?</li>
<li>Given my current rate of saving, when will I have X amount?</li>
</ul>
<p>Instead of entering, tracking and tagging <em>transactions</em> all I need to enter is the account <em>balance</em> at a particular time.  If my balance was €2000 a week ago and is now €1000 but that included €750 in rent, I know that my untracked spending is running at ~€250/week and, unless I get paid, I&#8217;ll hit zero in about 4 weeks.  This is the basics of financial survival.</p>
<p>About two months ago I started coding the application as a C# WinForms application using lots of nice looking GUI controls, an embedded Firebird database and some base ADO.NET statements (yuk!).  Development slowed but the need didn&#8217;t, so last week I started looking at <a href="http://rubyonrails.org/" title="Ruby on Rails">Ruby on Rails</a>.  You see, I&#8217;ve recently noticed that the applications myself and Hilary need are all online: Gmail, Google Calandar, <a href="http://www.rememberthemilk.com" title="Remember the Milk">Remember The Milk</a>, etc.  On Wednesday I asked Hilary if she could give me 1 week of &#8220;us&#8221; time to work on a RoR implementation so that we&#8217;d have a functional version which we could start using.  I&#8217;d might tinker with it, and possibly open it up to public use, but it gave me a defined slot of time to get things done and Hilary knew she wasn&#8217;t losing me indefinitely.</p>
<p>By Day 3 I had: the database tables written, Rails scaffolding providing the basic CRUD forms, user authentication working, accounts associated with particular users and balances with particular accounts.  I also had some basic charts working with <a href="http://ziya.liquidrail.com/" title="Ziya chart plugin for Rails">Ziya</a> and account overviews provided by <a href="http://nubyonrails.com/pages/sparklines" title="Sparklines plugin for Rails">Sparklines</a>.</p>
<p>Unfortunately my block of time idea didn&#8217;t really work out.  It&#8217;s Tuesday night and I haven&#8217;t worked on it since Friday night.  There&#8217;s a lot more to do, including most of the date manipulation and recurring events etc, but so far I&#8217;m pretty happy (although my eyes are aching from computer-ing morning, noon and night).  It might have been easier with Python/Django (since I&#8217;m already familiar with Python) but I felt that was more info/tutorials around about Ruby on Rails (and learning yet another language can&#8217;t hurt).</p>
]]></content:encoded>
			<wfw:commentRss>http://jamie.ideasasylum.com/2007/06/balancetracker-introduction/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
