Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paranoia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paranoia
Commits
ceb01415
Commit
ceb01415
authored
Apr 09, 2015
by
Ryan Bigg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #223 from akshaysmurthy/rails4
Update README.md
parents
50518501
2c3219ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
README.md
+4
-0
No files found.
README.md
View file @
ceb01415
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment