@@ -20,24 +20,18 @@ For Rails 3, please use version 1 of Paranoia:
20
20
gem " paranoia" , " ~> 1.0"
21
21
```
22
22
23
- For Rails 4, please use version 2 of Paranoia:
23
+ For Rails 4 or 5 , please use version 2 of Paranoia:
24
24
25
25
``` ruby
26
26
gem " paranoia" , " ~> 2.0"
27
27
```
28
28
29
- For Rails 5, please use the "core" branch of Paranoia :
29
+ Of course you can install this from GitHub as well from one of these examples :
30
30
31
31
``` ruby
32
- gem ' paranoia' , github: ' rubysherpas/paranoia' , branch: ' core'
33
- ```
34
-
35
- Of course you can install this from GitHub as well:
36
-
37
- ``` ruby
38
- gem " paranoia" , :github => " rubysherpas/paranoia" , :branch => " rails3"
39
- # or
40
- gem " paranoia" , :github => " rubysherpas/paranoia" , :branch => " rails4"
32
+ gem " paranoia" , github: " rubysherpas/paranoia" , branch: " rails3"
33
+ gem " paranoia" , github: " rubysherpas/paranoia" , branch: " rails4"
34
+ gem " paranoia" , github: " rubysherpas/paranoia" , branch: " rails5"
41
35
```
42
36
43
37
Then run:
@@ -53,7 +47,7 @@ Updating is as simple as `bundle update paranoia`.
53
47
Run:
54
48
55
49
``` shell
56
- rails generate migration AddDeletedAtToClients deleted_at:datetime:index
50
+ bin/ rails generate migration AddDeletedAtToClients deleted_at:datetime:index
57
51
```
58
52
59
53
and now you have a migration
0 commit comments