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

(test): Upgrade to Rails 7.2 #7559

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Conversation

adi-herwana-nus
Copy link

No description provided.

@adi-herwana-nus adi-herwana-nus force-pushed the adi/rails-upgrade branch 4 times, most recently from 1d135e0 to 069fe1e Compare September 20, 2024 14:13
adi-herwana-nus added 2 commits September 20, 2024 22:18
- removed unused rails_utils dependency
- removed deprecated fixture_path config keys
- updated database extension to sync with internal change
- migrated secret_key_base from Rails secrets to (encrypted) credentials
- updated all enum declarations from deprecated keyword args to positional args
- updated gem calculated_attributes to compatible self-maintained fork
- updated third-party gems unread,active_record_upsert to compatible bleeding-edge commits
- mock _default_attributes also for specs mocking load_schema (needed due to internal refactoring in 7.2)
- set eager_load to true in all environments to ensure table_name overrides loaded
- updated carrierwave to v3, amended relevant test case
timestamp = Time.zone.now.to_i.to_s
"Course #{timestamp + n.to_s}"
timestamp = Time.zone.now.to_i.to_s(36)
"#{prefix}#{timestamp}#{n.to_s}"
Copy link

Choose a reason for hiding this comment

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

[Correctable] Lint/RedundantStringCoercion: Redundant use of Object#to_s in interpolation.

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 this pull request may close these issues.

1 participant