-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with fresh Rails 7 app? #29
Comments
Hey @edooley, thanks for the heads up. I'll take a look. I've only briefly used |
Oh, looks like there's a Rails 7 / RailsAdmin v3 pull request I didn't see... Check out #26 - does that help? If so, I'll merge it in and release a new version! |
Good catch @rikkipitt ! I can now see the Rollback column and "View Changes" link in each row, but it isn't launching the popup. When I visit the path it is referencing I can see the |
Hey @edooley I've got a local testbed set up so I can figure out what's going on. v3 of RailsAdmin looks completely different and I think I'll need to match the new layout/styling as well as fixing the main issue. At the moment, on the branch by @pondpaun7z, I can't see any of the paper_trail versions in the table. The history tab shows up on individual records, but is missing from the main dashboard. |
Update: I was missing some config! I forgot to enable Devise and PaperTrail within RailsAdmin itself. I'm now at the same point as you @edooley, I can see changes, but the JS is failing to trigger the modal. I will review it now! |
Hi @rikkipitt, I have created this PR and I believe it solves this issue. Kindly look into it and let me know your thoughts. Thanks |
I just updated from Rails 6.1 to 7.2, RailsAdmin 2 to 3.3 and PaperTrail to 16. I had some issues with Kaminari config that I needed to patch to get to the History section or RA, but still I cannot trigger the rollback. @oloomoses this seems like a nice approach for fixing it, @rikkipitt shouldn't this be added for newer versions ? |
Perhaps I'm missing something obvious. First time using rails_admin and paper_trail. Built a fresh new Rails 7 app out of the box (rails 7.0.3, ruby 3.1.2). Got rails_admin (3.0) and paper_trail (13.0) working great. Followed instructions to enable auditing with paper_trail and History tab is showing up / tracking changes just fine. However, adding this gem and following its instructions does not show any of the Rollback columns, etc (as seen in the sample screenshots). Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: