From f76f4d926a973639baa465704d954bddfecfb5d4 Mon Sep 17 00:00:00 2001 From: Fernando Freire Date: Fri, 15 Nov 2024 15:40:52 +1100 Subject: [PATCH] loads the rails engine for rails 8 versions. fixes https://github.com/tsechingho/chosen-rails/issues/124 --- lib/chosen-rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chosen-rails.rb b/lib/chosen-rails.rb index 4d54724..99af614 100644 --- a/lib/chosen-rails.rb +++ b/lib/chosen-rails.rb @@ -6,7 +6,7 @@ module Rails end case ::Rails.version.to_s -when /^(4|5|6|7)/ +when /^(4|5|6|7|8)/ require 'chosen-rails/engine' when /^3\.[12]/ require 'chosen-rails/engine3'