Skip to content

Commit

Permalink
Add support for Rails 8.0
Browse files Browse the repository at this point in the history
We needed to:

* Bring over quite a few things from `rails app:update`, which hopefully
  should make future upgrades easier,
* Fix a change to the `enum` `ActiveModel` signature, which changed
  between Rails 6.0 and 7.0,
* Add a version check from 7.0 for `raise_on_missing_callback_actions`

https://rubyonrails.org/2024/11/7/rails-8-no-paas-required

Closes #2703
  • Loading branch information
nickcharlton committed Nov 15, 2024
1 parent 8c95705 commit 0c13066
Show file tree
Hide file tree
Showing 35 changed files with 3,792 additions and 739 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3]
appraisal: [rails61, rails70, pundit21]
appraisal: [rails61, rails70, rails80, pundit21]
include:
- ruby: '3.0'
appraisal: rails60
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ appraise "rails70" do
gem "rails", "~> 7.0"
end

appraise "rails80" do
gem "rails", "~> 8.0"
end

appraise "pundit21" do
gem "pundit", "~> 2.1.0"
end
Loading

0 comments on commit 0c13066

Please sign in to comment.