public
Description: Plug and play trend visualisation for your data.
Homepage: http://blog.choonkeat.com/weblog/2008/04/poor-mans-trend.html
Clone URL: git://github.com/choonkeat/poormans-trends.git
choonkeat (author)
Thu Apr 24 12:51:03 -0700 2008
commit  2fc81842b67e2e637147fa38ee54f254fd32372f
tree    189d0bbef4c8741479b5290e85bd036e98bbda14
parent  69942f696b597152a9f1db62b755fa13ebd57612
poormans-trends / README
100644 25 lines (17 sloc) 0.608 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PoormansTrends
============
 
Plug and play trend visualisation for your data.
 
 
Example
=======
# Simply include the module "Poormans::Trends" in your controller
# and it will gain a self-sufficient action "poormans_trends"
 
class HelloController < ApplicationController
  include Poormans::Trends
end
 
# If you need to protect the action, feel free to add before_filter
# or use any necessary mechanism
 
class HelloController < ApplicationController
  include Poormans::Trends
  before_filter :authenticate, :only => :poormans_trends
end
 
Copyright (c) 2008 Chew Choon Keat, released under the MIT license