We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2fb6d commit 9c79279Copy full SHA for 9c79279
lib/bootstrap_form/form_builder.rb
@@ -7,7 +7,7 @@ class FormBuilder < ActionView::Helpers::FormBuilder # rubocop:disable Metrics/C
7
8
class << self
9
def redefine_rich_text_area?
10
- (Rails::VERSION::STRING >= "8.1.0" && Gem.loaded_specs["action_text-trix"]) || Gem.loaded_specs["actiontext"]
+ ActionView::Helpers::FormBuilder.instance_methods.any?("rich_text_area")
11
end
12
13
0 commit comments