Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```