models_timeline 0.0.1 → 0.0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +12 -1
- data/lib/timeline/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -2,11 +2,22 @@
|
|
2
2
|
Track the entire life cycle of ActiveRecord models.
|
3
3
|
|
4
4
|
==Installation
|
5
|
-
Add
|
5
|
+
Add the gem to your Gemfile
|
6
6
|
|
7
7
|
gem "timeline"
|
8
|
+
|
9
|
+
Copy some migration stuff:
|
10
|
+
|
11
|
+
rake timeline:install:migrations
|
12
|
+
rake db:migrate
|
13
|
+
|
14
|
+
Add to your route.rb file:
|
15
|
+
|
16
|
+
mount Timeline::Engine => "/timeline"
|
17
|
+
|
8
18
|
Requires Ruby 1.9.2 or later.
|
9
19
|
|
20
|
+
|
10
21
|
==Usage
|
11
22
|
Call timeline in an ActiveRecord class and pass the name of the attributes you wish to track of your Model.
|
12
23
|
|
data/lib/timeline/version.rb
CHANGED