simple-navigation icon indicating copy to clipboard operation
simple-navigation copied to clipboard

Url helpers not found, when eager_load is enabled

Open nlsrchtr opened this issue 2 years ago • 1 comments

I was installing simple-navigation into a Rails 7 application and everything looks great, but when enabling eager loading (f.e. in tests) by using Rails.application.eager_load! I got undefined method url_for' for main:Object`.

I was looking through the wiki and FAQs, but couldn't find a hint on how to solve this.

I know, that Rails 7 is currently not supported and eager loading is also disabled in the test suite, but maybe someone has an idea on how to fix it.

Thanks a lot for any support.

nlsrchtr avatar Jan 25 '23 14:01 nlsrchtr

Hi, would you have time to investigate?

andi avatar Feb 03 '23 08:02 andi