Skip to content

Commit 017eb79

Browse files
justin808claude
andcommitted
Add ActiveSupport require for Rails 5.2-6.0 compatibility
The compact_blank method used in ensure_webpack_generated_files_exists was introduced in Rails 6.1. By requiring active_support/core_ext/enumerable, we ensure this method is available in Rails 5.2-6.0 environments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 7bfe46b commit 017eb79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/react_on_rails/configuration.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require "active_support/core_ext/enumerable"
4+
35
# rubocop:disable Metrics/ClassLength
46

57
module ReactOnRails

0 commit comments

Comments
 (0)