Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paranoia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paranoia
Commits
70f6e37b
Commit
70f6e37b
authored
Jul 12, 2016
by
Ben A. Morgan
Committed by
GitHub
Jul 12, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #343 from rubysherpas/rails-5
Rails 5
parents
a21cf4d2
d1d854e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
README.md
+6
-12
lib/paranoia/version.rb
+1
-1
No files found.
README.md
View file @
70f6e37b
...
...
@@ -20,24 +20,18 @@ For Rails 3, please use version 1 of Paranoia:
gem
"paranoia"
,
"~> 1.0"
```
For Rails 4, please use version 2 of Paranoia:
For Rails 4
or 5
, please use version 2 of Paranoia:
```
ruby
gem
"paranoia"
,
"~> 2.0"
```
For Rails 5, please use the "core" branch of Paranoia
:
Of course you can install this from GitHub as well from one of these examples
:
```
ruby
gem
'paranoia'
,
github:
'rubysherpas/paranoia'
,
branch:
'core'
```
Of course you can install this from GitHub as well:
```
ruby
gem
"paranoia"
,
:github
=>
"rubysherpas/paranoia"
,
:branch
=>
"rails3"
# or
gem
"paranoia"
,
:github
=>
"rubysherpas/paranoia"
,
:branch
=>
"rails4"
gem
"paranoia"
,
github:
"rubysherpas/paranoia"
,
branch:
"rails3"
gem
"paranoia"
,
github:
"rubysherpas/paranoia"
,
branch:
"rails4"
gem
"paranoia"
,
github:
"rubysherpas/paranoia"
,
branch:
"rails5"
```
Then run:
...
...
@@ -53,7 +47,7 @@ Updating is as simple as `bundle update paranoia`.
Run:
```
shell
rails generate migration AddDeletedAtToClients deleted_at:datetime:index
bin/
rails generate migration AddDeletedAtToClients deleted_at:datetime:index
```
and now you have a migration
...
...
lib/paranoia/version.rb
View file @
70f6e37b
module
Paranoia
VERSION
=
"2.2.0.
alpha
"
VERSION
=
"2.2.0.
pre
"
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment