You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nlsrchtr
changed the title
Url helpers not found, when eager_loading is enabled
Url helpers not found, when eager_load is enabled
Jan 25, 2023
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 gotundefined 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.
The text was updated successfully, but these errors were encountered: