Commit 4c9cf653 by Mauro George

removed rails 2 from readme

parent af5a2f85
...@@ -12,37 +12,13 @@ Put this in your Gemfile: ...@@ -12,37 +12,13 @@ Put this in your Gemfile:
gem 'paranoia' gem 'paranoia'
``` ```
Then run `bundle`. Done.
Updating is as simple as `bundle update paranoia`.
#### Rails 3
In your _Gemfile_:
```ruby
gem 'paranoia'
```
Then run: Then run:
```shell ```shell
bundle install bundle install
``` ```
#### Rails 2: Updating is as simple as `bundle update paranoia`.
In your _config/environment.rb_:
```ruby
config.gem 'paranoia'
```
Then run:
```shell
rake gems:install
```
#### Run your migrations for the desired models #### Run your migrations for the desired models
...@@ -57,7 +33,7 @@ class AddDeletedAtToClient < ActiveRecord::Migration ...@@ -57,7 +33,7 @@ class AddDeletedAtToClient < ActiveRecord::Migration
end end
end end
``` ```
### Usage ### Usage
#### In your model: #### In your model:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment