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 9c79279 commit 5875c39Copy full SHA for 5875c39
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
- ActionView::Helpers::FormBuilder.instance_methods.any?("rich_text_area")
+ ActionView::Helpers::FormBuilder.instance_methods.any? { _1 == :rich_text_area }
11
end
12
13
0 commit comments