Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions lib/bootstrap_form.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
# NOTE: The rich_text_area and rich_text_area_tag helpers are defined in a file
# with a different name and not in the usual autoload-reachable way.
# The following line is definitely need to make `bootstrap_form` work.
# rubocop:disable Lint/SuppressedException
begin
require "#{Gem::Specification.find_by_name('actiontext').gem_dir}/app/helpers/action_text/tag_helper"
rescue Gem::MissingSpecError
end
# rubocop:enable Lint/SuppressedException

require "action_view"
require "action_pack"
require "bootstrap_form/action_view_extensions/form_helper"
Expand Down