solidusio-contrib / solidus_reviews

Product review/rating functionality for your Solidus store.
BSD 3-Clause "New" or "Revised" License
19 stars 48 forks source link

Autoloading broken on Rails 7 #112

Closed pelargir closed 1 year ago

pelargir commented 2 years ago

Autoloading is broken on Rails 7 due to referencing a constant in the load_preferences.rb initializer:

in `<module:Reviews>': uninitialized constant Spree::ReviewsConfiguration (NameError)

This PR fixes the problem.

pelargir commented 1 year ago

The fix has been merged.

yousamaa commented 10 months ago

I am using version 1.5 and it still breaks with rails 7.0. I cannot upgrade to 1.6 as I am using ruby 2.7.8. I cannot upgrade my ruby as I am using solidus_affirm_v2 too which is not support by ruby 3.0 yet.