https://github.com/vydia/rails_papertrail_example
A quick Rails app that uses papertrail to manage model changes.
https://github.com/vydia/rails_papertrail_example
Last synced: 2 months ago
JSON representation
A quick Rails app that uses papertrail to manage model changes.
- Host: GitHub
- URL: https://github.com/vydia/rails_papertrail_example
- Owner: Vydia
- Created: 2018-03-14T21:08:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T21:51:57.000Z (over 8 years ago)
- Last Synced: 2025-03-11T06:50:10.365Z (over 1 year ago)
- Language: Ruby
- Size: 31.3 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
This site sets up a basic rails app with scaffolding for an Animal model.
It uses paper_trail gem to manage changes to the model. It also uses paper_trail_manager to show changes.
```
bin/rails db:migrate
bin/rails server
```
Go to `localhost:3000/animals`. Add an animal. Add another. Change some stuff.
Go to `locahost:3000/changes`. See the changes.
So paper_trail_manager isn't very good. The view doesn't include the changed fields so it's missing THE critical piece of data. It also doesn't run on Rails 5 by default and I had to install from a fork.