pacecar 1.4.2 → 1.4.3

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.
Files changed (2) hide show
  1. data/README.rdoc +11 -0
  2. metadata +4 -4
@@ -6,8 +6,19 @@ Pacecar automatically includes the Pacecar::Helpers module into all ActiveRecord
6
6
 
7
7
  To get all Pacecar functionality, you need to "include Pacecar" in your class.
8
8
 
9
+ class User < ActiveRecord::Base
10
+ include Pacecar
11
+ end
12
+
9
13
  To get some subset (for example, only the state functionality), you can do something like "include Pacecar::State" to get only the module(s) you want.
10
14
 
15
+ class Post < ActiveRecord::Base
16
+ include Pacecar::State
17
+ end
18
+
19
+ Pacecar supports mysql, postgres and sqlite database drivers.
20
+
21
+
11
22
  == Installation
12
23
 
13
24
  For rails 3, just include in your Gemfile
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pacecar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 2
10
- version: 1.4.2
9
+ - 3
10
+ version: 1.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Jankowski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-06 00:00:00 -05:00
18
+ date: 2010-12-07 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21