Skip to content
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

Add support for rails 8.0.0.alpha #1490

Closed
zunair-dev opened this issue Aug 30, 2024 · 2 comments · Fixed by #1498
Closed

Add support for rails 8.0.0.alpha #1490

zunair-dev opened this issue Aug 30, 2024 · 2 comments · Fixed by #1498

Comments

@zunair-dev
Copy link

I'm facing this on rails db:migrate

PaperTrail 15.1.0 is not compatible with ActiveRecord 8.0.0.alpha. We allow PT
contributors to install incompatible versions of ActiveRecord, and this
warning can be silenced with an environment variable, but this is a bad
idea for normal use. Please install a compatible version of ActiveRecord
instead (>= 6.1, < 7.2). Please see the discussion in paper_trail/compatibility.rb
for details.

as obviously it supports rails <7.2
image

@navidemad
Copy link

navidemad commented Sep 1, 2024

The paper-trail-gem maintainers only release new versions once they is a new rails stable—no betas or alphas.
For now, you can set the environment variable to suppress the warning.
However, use this with caution, as the gem might still require adjustments:

PT_SILENCE_AR_COMPAT_WARNING=1 

@zunair-dev
Copy link
Author

alrigh @navidemad, I'll suppress the warning until we get support for rails 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants