Commit b8295c41 by John Hawthorn

Merge pull request #299 from nikkypx/README

Fix grammar and typos in README
parents f180fe6f fa902298
......@@ -244,9 +244,9 @@ The `recover` method in `acts_as_paranoid` runs `update` callbacks. Paranoia's
## Callbacks
Paranoia provides few callbacks. It triggers `destroy` callback when the record is marked as deleted and `real_destroy` when the record is completely removed from database. It also calls `restore` callback when record is restored via paranoia
Paranoia provides few callbacks. It triggers `destroy` callback when the record is marked as deleted and `real_destroy` when the record is completely removed from database. It also calls `restore` callback when the record is restored via paranoia
For example if you want to index you records in some search engine you can do like this:
For example if you want to index your records in some search engine you can go like this:
```ruby
class Product < ActiveRecord::Base
......
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