Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed wrong example in dcumentation - reportable - Fork of reportable required …
Log
Files
Refs
README
---
commit 8aa9bac80b0716c60fd58a5f78cba96077608b12
parent b113dfc7639cd77e9ba0e3e4083f6d483cffeb0a
Author: Marco Otte-Witte <[email protected]>
Date: Wed, 21 Jan 2009 13:10:02 +0100
fixed wrong example in dcumentation
Diffstat:
M lib/kvlr/reports_as_sparkline.rb | 8 ++++----
M rdoc/classes/Kvlr/ReportsAsSparkli… | 8 ++++----
M rdoc/created.rid | 2 +-
M rdoc/files/lib/kvlr/reports_as_spa… | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/lib/kvlr/reports_as_sparkline.rb b/lib/kvlr/reports_as_sparkline.rb
@@ -31,10 +31,10 @@ module Kvlr #:nodoc:
# reports_as_sparkline :games_played_total, :cumulate => true
# end
# class User < ActiveRecord::Base
- # reports_as_sparkline :registrations, :operation => :count
- # reports_as_sparkline :activations, :date_column => :activated_at, :…
- # reports_as_sparkline :total_users_report, :cumulate => true
- # reports_as_sparkline :rake, :aggregation => :sum, :value_column => …
+ # reports_as_sparkline :registrations, :aggregation => :count
+ # reports_as_sparkline :activations, :aggregation => :count, :date_…
+ # reports_as_sparkline :total_users, :cumulate => true
+ # reports_as_sparkline :rake, :aggregation => :sum, :value…
# end
def reports_as_sparkline(name, options = {})
(class << self; self; end).instance_eval do
diff --git a/rdoc/classes/Kvlr/ReportsAsSparkline/ClassMethods.html b/rdoc/clas…
@@ -163,10 +163,10 @@ false)
reports_as_sparkline :games_played_total, :cumulate =&gt; true
end
class User &lt; ActiveRecord::Base
- reports_as_sparkline :registrations, :operation =&gt; :count
- reports_as_sparkline :activations, :date_column =&gt; :activated_at, :opera…
- reports_as_sparkline :total_users_report, :cumulate =&gt; true
- reports_as_sparkline :rake, :aggregation =&gt; :sum, :value_column =&gt; :p…
+ reports_as_sparkline :registrations, :aggregation =&gt; :count
+ reports_as_sparkline :activations, :aggregation =&gt; :count, :date_colum…
+ reports_as_sparkline :total_users, :cumulate =&gt; true
+ reports_as_sparkline :rake, :aggregation =&gt; :sum, :value_colu…
end
</pre>
<p><a class="source-toggle" href="#"
diff --git a/rdoc/created.rid b/rdoc/created.rid
@@ -1 +1 @@
-Tue, 20 Jan 2009 20:00:23 +0100
+Wed, 21 Jan 2009 13:09:39 +0100
diff --git a/rdoc/files/lib/kvlr/reports_as_sparkline_rb.html b/rdoc/files/lib/…
@@ -56,7 +56,7 @@
</tr>
<tr class="top-aligned-row">
<td><strong>Last Update:</strong></td>
- <td>Mon Jan 19 13:09:03 +0100 2009</td>
+ <td>Wed Jan 21 13:08:56 +0100 2009</td>
</tr>
</table>
</div>
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.