Commit b1ec3610 by Geoffrey Roguelon Committed by Ryan Bigg

Fix some syntax errors in README.md

[ci skip]

Fixes #97
parent cffd0cc1
......@@ -80,8 +80,9 @@ If you really want it gone *gone*, call `destroy!`
```
>> client.deleted_at => nil
>> client.destroy! => client
```
If you want a method to be called on destroy, simply provide a _before\_destroy_ callback:
If you want a method to be called on destroy, simply provide a `before_destroy` callback:
```ruby
class Client < ActiveRecord::Base
......@@ -97,7 +98,7 @@ class Client < ActiveRecord::Base
end
```
If you want to use a column other than deleted_at, you can pass it as an option:
If you want to use a column other than `deleted_at`, you can pass it as an option:
```ruby
class Client < 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