Skip to content

Commit 9c79279

Browse files
committed
Keep trying random changes until something works
1 parent 5b2fb6d commit 9c79279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootstrap_form/form_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class FormBuilder < ActionView::Helpers::FormBuilder # rubocop:disable Metrics/C
77

88
class << self
99
def redefine_rich_text_area?
10-
(Rails::VERSION::STRING >= "8.1.0" && Gem.loaded_specs["action_text-trix"]) || Gem.loaded_specs["actiontext"]
10+
ActionView::Helpers::FormBuilder.instance_methods.any?("rich_text_area")
1111
end
1212
end
1313

0 commit comments

Comments
 (0)