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

Upgrade Rails to 7.1 #1540

Merged
merged 18 commits into from
Apr 24, 2024
Merged

Upgrade Rails to 7.1 #1540

merged 18 commits into from
Apr 24, 2024

Conversation

akhilgkrishnan
Copy link
Member

  • This PR upgrades the rails version to 7.1

@@ -0,0 +1,224 @@
# frozen_string_literal: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can uncomment the changes, that we required.

@akhilgkrishnan akhilgkrishnan added this to the 1.1.0 milestone Oct 11, 2023
@akhilgkrishnan akhilgkrishnan added backend WIP dependencies Pull requests that update a dependency file labels Oct 11, 2023
@vipulnsward
Copy link
Contributor

@akhilgkrishnan can you rebase this?

@akhilgkrishnan
Copy link
Member Author

@akhilgkrishnan can you rebase this?

Rebased the PR

@vipulnsward vipulnsward removed the request for review from mayankagnihotri7 April 1, 2024 20:41
@vipulnsward vipulnsward assigned apoorv1316 and unassigned apoorv1316 Apr 1, 2024
@vipulnsward
Copy link
Contributor

Specs are failing, @apoorv1316 can you take a look?

@@ -115,7 +115,7 @@ gem "active_interaction"
gem "stripe"

# Background job processing adapter
gem "sidekiq", "<8"
gem "sidekiq", "~> 7.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgraded sidekiq to fix the following error on running sidekiq
super: no superclass method broadcast' for ActiveSupport::Logger:Class`
sidekiq/sidekiq#6054

@apoorv1316
Copy link
Contributor

Removed search_service and its specs because we are not using ransack for search. It was old code which was not being used.

@apoorv1316 apoorv1316 requested a review from nisusam April 15, 2024 08:15
@apoorv1316
Copy link
Contributor

apoorv1316 commented Apr 15, 2024

@nisusam @prasanthchaduvula @akhilgkrishnan Please review

Gemfile.lock Outdated

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either get all the relative platforms or remove this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

db/schema.rb Outdated
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_03_04_143641) do
ActiveRecord::Schema[7.1].define(version: 2024_03_31_034308) do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only single-line change? please check whether the above migrations ran or not.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is up

@akhilgkrishnan
Copy link
Member Author

@apoorv1316 @nisusam Are we good to merge this PR?

@akhilgkrishnan akhilgkrishnan modified the milestones: 1.1.0, 1.6.0 Apr 23, 2024
@apoorv1316
Copy link
Contributor

@apoorv1316 @nisusam Are we good to merge this PR?

will merge tomorrow

@apoorv1316 apoorv1316 merged commit 7fa42e5 into develop Apr 24, 2024
1 check passed
@apoorv1316 apoorv1316 deleted the feature/upgrade-rails-to-7-1 branch April 24, 2024 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend dependencies Pull requests that update a dependency file WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants