Commit ceb01415 by Ryan Bigg

Merge pull request #223 from akshaysmurthy/rails4

Update README.md
parents 50518501 2c3219ce
...@@ -158,6 +158,8 @@ If you want to restore a record: ...@@ -158,6 +158,8 @@ If you want to restore a record:
``` ruby ``` ruby
Client.restore(id) Client.restore(id)
# or
client.restore
``` ```
If you want to restore a whole bunch of records: If you want to restore a whole bunch of records:
...@@ -170,6 +172,8 @@ If you want to restore a record and their dependently destroyed associated recor ...@@ -170,6 +172,8 @@ If you want to restore a record and their dependently destroyed associated recor
``` ruby ``` ruby
Client.restore(id, :recursive => true) Client.restore(id, :recursive => true)
# or
client.restore(:recursive => true)
``` ```
If you want callbacks to trigger before a restore: If you want callbacks to trigger before a restore:
......
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