Upgrade Ruby to 3.4.5 and Rails to 8.0.3#87
Merged
ElsonOtake merged 5 commits intodevfrom Sep 23, 2025
Merged
Conversation
Major version upgrades: - Ruby: 3.1.2 → 3.4.5 - Rails: 7.0.6 → 8.0.3 - Bundler: 2.3.22 → 2.7.2 - Node.js: Added 22.x support in Dockerfile Key changes: - Updated all gem dependencies for Rails 8 compatibility - Fixed deprecations (Rswag config, RSpec fixtures, timezone handling) - Added OAuth user detection with provider/uid tracking - Fixed Active Storage image rendering with proper helpers - Added timezone configuration with TZ environment variable - Created CLAUDE.md documentation for development guidance - Added Sidekiq to Procfile.dev for background job processing - Fixed analytics controller timezone issues - Updated Dockerfile from Fullstaq Ruby to official Ruby image UI improvements: - OAuth users see simplified edit profile page - Fixed default profile image display - Added PostsController#show action for Rails 8 compatibility Database changes: - Added provider and uid columns to members table - Added Active Storage migrations for Rails 8 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated page title from "Comment analytics" to "Analytics for Your Posts" - Added subtitle showing the current member's name - Added info box explaining what data is being tracked - Updated all chart titles to clarify they show data for the user's own posts - Fixed NameError by using current_member instead of current_user This makes it clear that the analytics page shows: - Comments made on the user's own posts by others - Visitors who viewed the user's posts - Engagement metrics for content authored by the logged-in user 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add empty line after module inclusions in controllers - Add final newline to registrations controller - Use single-line if modifier in Member model - Comply with Style/EmptyLinesAfterModuleInclusion - Comply with Style/IfUnlessModifier All autocorrectable offenses resolved. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Upgraded Rubocop from 1.56.4 to 1.80.2 for Ruby 3.4 support - Fixed Layout/EmptyLinesAfterModuleInclusion in Member model - All Rubocop checks now passing with no offenses 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR upgrades the application to the latest stable versions of Ruby and Rails, along with various improvements and bug fixes.
Major Version Upgrades
Key Changes
🚀 Framework & Dependencies
🔐 Authentication & User Management
🖼️ UI/UX Improvements
⏰ Timezone & Analytics
📝 Documentation
🐛 Bug Fixes
Database Migrations
Testing
Notes
Next Steps After Merging
bundle installto update dependenciesrails db:migrateto apply new migrationsbin/devto ensure Sidekiq runs for analytics🤖 Generated with Claude Code