diff --git a/CHANGELOG.md b/CHANGELOG.md index ad8a9f8..27915d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Added -- Add support for Rails 7.1 (#146, #148, #149), +- Add support for Rails 7.1 (#146, #148, #149, #150), thanks to @hishammalik and @pnicholls ### Changed diff --git a/lib/currency_select_tag.rb b/lib/currency_select_tag.rb index fac4f06..d4d2d97 100644 --- a/lib/currency_select_tag.rb +++ b/lib/currency_select_tag.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'to_currency_select_tag' +require 'form_options_helper' # CurrencySelect module ActionView @@ -10,6 +11,8 @@ module Helpers # class CurrencySelectTag < Tags::Base include ToCurrencySelectTag + include FormOptionsHelper + include ActionView::Helpers::Tags::SelectRenderer if defined?(ActionView::Helpers::Tags::SelectRenderer) end end end