| fixed exampled in README - reportable - Fork of reportable required by WarVox, … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit ed237f63da0adb5a71d40d44108ce5dbf2e13961 | |
| parent 9b9d5b39c684033ff859ef9f36297b22a5187307 | |
| Author: Marco Otte-Witte <[email protected]> | |
| Date: Tue, 13 Jan 2009 23:51:10 +0800 | |
| fixed exampled in README | |
| Signed-off-by: Marco Otte-Witte <[email protected]> | |
| Diffstat: | |
| M README.rdoc | 10 +++++----- | |
| 1 file changed, 5 insertions(+), 5 deletions(-) | |
| --- | |
| diff --git a/README.rdoc b/README.rdoc | |
| @@ -7,12 +7,12 @@ ReportsAsSparkline enables you to generate reports and sparkl… | |
| This shows the basic usage. Consider the following user model, including +crea… | |
| class User < ActiveRecord::Base | |
| - report_as_sparkline :registrations | |
| - report_as_sparkline :activations, :date_column => :activated_at | |
| - report_as_sparkline :total_users, :cumulate => true | |
| + reports_as_sparkline :registrations | |
| + reports_as_sparkline :activations, :date_column => :activated_at | |
| + reports_as_sparkline :total_users, :cumulate => true | |
| end | |
| -Using +report_as_sparkline+ like this will add the following class methods to … | |
| +Using +reports_as_sparkline+ like this will add the following class methods to… | |
| User.registrations_report | |
| User.activations_report | |
| @@ -38,7 +38,7 @@ If you are on Rails < 2.1, do this from your RAILS_ROOT | |
| <b>generate migration</b> | |
| - ./script/generate report_as_sparkline_migration add_report_as_sparkline_tabl… | |
| + ./script/generate reports_as_sparkline_migration add_reports_as_sparkline_ta… | |
| <b>migrate</b> | |