paper-trail-gem Questions

1

I'm working on a Rails app where I need to show the audit trail on a Record, which has_many Data. I have paper_trail on my Record, and associated Datum models, and it is saving versions of them jus...
Upwind asked 9/10, 2015 at 16:48

2

Solved

I've tested this by running rails c both before and after git stash. On Rails 4.1 in Mavericks, after following the instructions to add the versions table and adding has_paper_trail to three models...
Ciel asked 10/6, 2014 at 5:0

2

I'm new to Rails...using RubyMine as an IDE. I have Paper_Trail saving previous versions of the data "xoi_qb". My view is currently showing the current and previous data as I'd like, but I would ...
Isaacson asked 27/5, 2015 at 4:27

1

Solved

I was wondering whether the following use case can be achieved using the papertrail gem? A Wikipedia-type of application with wiki pages that logged in users can change/edit and where: Moderators...
Unhitch asked 2/9, 2015 at 8:21

1

Solved

I'm using paper_trail 3.0.8 on a Rails 3.2 app and I've got a model called 'levels' and I keep versions of these levels. Each level has a from_date and a cost relating to it. Whenever someone chang...
Peipeiffer asked 23/7, 2015 at 4:0

2

I use paper_trail in rails to track my models versions. But the documentation on the github repo indicates that the gem doesn't support has_many, belongs_to associations. Let's say I've an app tha...

1

Solved

I had this working fine following the Railscast episode by Ryan Bates and then some weeks later I went back to check on it and it was borked. Now I'm getting this error whenever I hit the undo butt...
Metronymic asked 18/11, 2013 at 11:10

1

Solved

I'm trying to make a version listing with Paper trail, that user will be able to see a difference between versions and get back to the older version. I've found out how to make a listing and links...
Acuff asked 27/11, 2013 at 10:26

2

Solved

My question: Should I roll my own model versioning or use one of the versioning gems that's already out there? If I should use a gem, which one seems best for this application? Info about my app ...

2

I need a system where a regular user can edit a model but the edits don't actually happen until they are approved by an administrator. I found a gem called paper_trail that does had model versionin...
Bluetongue asked 30/6, 2011 at 23:2

© 2022 - 2024 — McMap. All rights reserved.