<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -20,6 +20,14 @@ class ApplicationController &lt; ActionController::Base
   end
   
   def current_location
-    @user || session[:geo_location]
+    @user || begin
+      loc = session[:geo_location]
+      case loc
+      when YAML::Object
+        [loc.ivars[:lat],loc.ivars[:lng]]
+      else
+        loc
+      end
+    end
   end
 end</diff>
      <filename>app/controllers/application_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -12,9 +12,9 @@ set :git_enable_submodules, true
 set :user, 'mike'
 set :use_sudo, false
 
-role :app, &quot;perham&quot;
-role :web, &quot;perham&quot;
-role :db,  &quot;perham&quot;, :primary =&gt; true
+role :app, &quot;tracknowledge.org&quot;
+role :web, &quot;tracknowledge.org&quot;
+role :db,  &quot;tracknowledge.org&quot;, :primary =&gt; true
 
 namespace :deploy do
 	desc &quot;Restart Application&quot;</diff>
      <filename>config/deploy.rb</filename>
    </modified>
    <modified>
      <diff>@@ -68,7 +68,7 @@ Rails::Initializer.run do |config|
 
   # Make Active Record use UTC-base instead of local time
   config.active_record.default_timezone = :utc
-  config.threadsafe! if Rails.env.production?
+  config.threadsafe! if RAILS_ENV == 'production'
 end
 
 #RAILS_DEFAULT_LOGGER.flush</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,12 +8,17 @@ indy_blob:
   
 daytona_blob:
   tags: daytona500
+  notes: x
 
 tws_blob:
   tags: texasworldspeedway
+  notes: x
 
 sepang_blob:
   tags: sepang
+  notes: x
 
 ironrock_blob:
-  tags: ironrock
\ No newline at end of file
+  tags: ironrock
+  notes: x
+  
\ No newline at end of file</diff>
      <filename>test/fixtures/track_blobs.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,7 @@
 ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
 require File.expand_path(File.dirname(__FILE__) + &quot;/../config/environment&quot;)
 require 'test_help'
-require 'rubygems'
 require 'flexmock/test_unit'
-require 'ostruct'
 
 class ActiveSupport::TestCase
   self.use_transactional_fixtures = true</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fc499392cb89856f5593879c70d0a8cb83e2ec30</id>
    </parent>
  </parents>
  <author>
    <name>Mike Perham</name>
    <email>mperham@gmail.com</email>
  </author>
  <url>http://github.com/mperham/tracknowledge/commit/dfb6321932356baf153ccf794191fe0d592ba9ff</url>
  <id>dfb6321932356baf153ccf794191fe0d592ba9ff</id>
  <committed-date>2009-03-11T17:59:26-07:00</committed-date>
  <authored-date>2009-03-11T17:59:26-07:00</authored-date>
  <message>Cleanup</message>
  <tree>d110f76595820e92b10a0ec447b3f5cc04450585</tree>
  <committer>
    <name>Mike Perham</name>
    <email>mperham@gmail.com</email>
  </committer>
</commit>
