Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevepolitodesign/paper-trail-gem-tutorial
A tutorial that demonstrates how to revert and restore records using paper_trail.
https://github.com/stevepolitodesign/paper-trail-gem-tutorial
Last synced: about 17 hours ago
JSON representation
A tutorial that demonstrates how to revert and restore records using paper_trail.
- Host: GitHub
- URL: https://github.com/stevepolitodesign/paper-trail-gem-tutorial
- Owner: stevepolitodesign
- Created: 2020-04-13T19:00:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T12:03:36.000Z (over 1 year ago)
- Last Synced: 2023-03-06T00:21:55.107Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 1.49 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PaperTrail Gem Tutorial
A tutorial that demonstrates how to revert and restore records using [paper_trail](https://github.com/paper-trail-gem/paper_trail).
## Revert a Previous Version
![reverting a pervious version](./public/revert_article.gif)
## Restoring a Previously Deleted Version
![restoring a perviously deleted version](./public/restore_article.gif)
# Local Build
```
bundle install
rails db:setup
rails s
```# Tests
```
rails t
```