Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
require "bootsnap/setup" # Speed up boot time by caching expensive operations.

# Monkey patch Array to prevent freezing errors in Rails 8.1
# This allows older gems to modify frozen autoload_paths arrays
# This allows older gems to modify frozen autoload_paths arrays
class Array
alias_method :original_freeze, :freeze

def freeze
# Check if this array is being set as autoload_paths or eager_load_paths
# by inspecting the call stack
Expand Down