activerecord-cti 0.1.1 → 1.0.0
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.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/activerecord/cti/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 836881d73a9673eb8de7d7090a2b00fcf0488a4e6a98b7cc17c4d4e8653eccd3
|
|
4
|
+
data.tar.gz: 8412e160c4687ea28ec62cf34ee4b7d82d5c174a294f9fac771a326537bb4bb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b94a30910639e51487ee22b50ef7d66459ba062db0a43d85e2bd91b2077e928dffe3c65c37dc5e55f244d0b987d2ded42fce27056ed935a13d072c49e2831495
|
|
7
|
+
data.tar.gz: feb4910a8fd049b311424495f7423b408d49067e8ce3e24b666930c35cec80ce33afc5df16b6fc02db87b9dc7a97b25bde86e9a3d77afca589b01521da548973
|
data/README.md
CHANGED
|
@@ -25,6 +25,17 @@ CTI can solve these problems by using multiple related tables like shown below,
|
|
|
25
25
|
|
|
26
26
|

|
|
27
27
|
|
|
28
|
+
## Installation
|
|
29
|
+
To install activerecord-cti on Rails, put this line in your Gemfile:
|
|
30
|
+
```ruby
|
|
31
|
+
gem 'activerecord-cti'
|
|
32
|
+
```
|
|
33
|
+
And then execute `bundle install`
|
|
34
|
+
```bash
|
|
35
|
+
$ bundle install
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
|
|
28
39
|
## How to use
|
|
29
40
|
### Preparation
|
|
30
41
|
First of all, generate the files of models you want to apply CTI to, and execute migration.
|