bootstrap-ruby / bootstrap_form

Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
MIT License
1.64k stars 352 forks source link

Test Fail on Edge AKA Rails 7 #609

Closed lcreid closed 2 years ago

lcreid commented 2 years ago

Tests are currently failing on edge Rails, AKA Rail 7. If anyone is interested in working on a fix, please comment below.

Please branch from and submit pull requests to the ~bootstrap-5~ main branch. Thanks in advance.

thimo commented 2 years ago

Would love to take a look. With the release of 5.0 (congrats!) the branch should be against main, right?

lcreid commented 2 years ago

Yep. Thanks. I'll update the original comment. I'd love to see what you find.

thimo commented 2 years ago

Rails.application.config.assets as referenced in demo/config/initializers/assets.rb is no longer is available in Rails 7.0 main branch, probably because of recent Rails asset pipeline changes. Am going to figure out what the correct solution is here, staying backwards compatible for Rails 6.1, etc..