Commit fa902298 by Nick Palaniuk

Fix grammar and typos

parent f180fe6f
......@@ -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