<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,14 +3,13 @@ SevenMinuteAbs
 
 Ab testing is 7 minutes.  Not 6, not 5, 7!
 
-Tested in rails 2.2, so far.
+Tested in rails 2.3.2
 
 Installation
 =======
-
+go to your rails app directory
+  
   ./script/plugin install git://github.com/paulmars/seven_minute_abs.git
-  git add vendor/plugins/seven_minute_abs/
-  git commit -m &quot;bare seven minute abs installed&quot;
 
 Setup the database to store your info
 =======
@@ -23,15 +22,14 @@ Include Code
 =======
 add these lines to these files
 
-ApplicationHelper
-
-  include AbViewHelper
-
-Application.rb (or ApplicationController in rails 2.3)
-
-  include SevenMinuteAbs
-  before_filter :ab_click_count
+  module ApplicationHelper
+    include AbViewHelper
+  end
 
+  class ApplicationController &lt; ActionController::Base
+    include SevenMinuteAbs
+    before_filter :ab_click_count
+  end
 
 Use it!
 =======
@@ -46,9 +44,16 @@ Test if orange or blue gets more clicks
   &lt;% end %&gt;
 
 
-Example
-
-Example goes here.
-
+See Stats
+=======
+A quick way to see your stats
+
+&lt;% Ab.find(:all).each do |ab| %&gt;
+  &lt;div class=&quot;ab-result&quot;&gt;
+    &lt;pre&gt;
+      name:&lt;%= ab.testname %&gt; v:&lt;%= ab.version %&gt; &lt;%= ab.percent_clicked %&gt;%     &lt;%= ab.display_count %&gt; &lt;%= ab.click_count %&gt; &lt;%= ab.stub %&gt; &lt;%= ab.created_at %&gt;
+    &lt;/pre&gt;
+  &lt;/div&gt;
+&lt;% end %&gt;
 
 Copyright (c) 2008 Paul McKellar, released under the MIT license</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -64,6 +64,10 @@ class Ab &lt; ActiveRecord::Base
   #     # Cache.delete(&quot;ab_stub:#{self.testname}_v:#{self.version}&quot;)
   #   end
 
+  def percent_clicked
+    (self.click_count.to_f*10000000 / self.display_count).floor/100000
+  end
+
 protected
 
   def random_string(len)</diff>
      <filename>lib/ab.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3a4c46932204edc390eb24e39450326ab391bfa4</id>
    </parent>
  </parents>
  <author>
    <name>Paul</name>
    <email>paul.mckellar@gmail.com</email>
  </author>
  <url>http://github.com/paulmars/seven_minute_abs/commit/866e231b984964db5ca2e933f91f8ca7d03ad02a</url>
  <id>866e231b984964db5ca2e933f91f8ca7d03ad02a</id>
  <committed-date>2009-03-19T17:22:35-07:00</committed-date>
  <authored-date>2009-03-19T17:22:35-07:00</authored-date>
  <message>show stats, and percent in model</message>
  <tree>da287f77cebf70d76649659f816c1e959941501d</tree>
  <committer>
    <name>Paul</name>
    <email>paul.mckellar@gmail.com</email>
  </committer>
</commit>
