Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url helpers not found, when eager_load is enabled #229

Open
nlsrchtr opened this issue Jan 25, 2023 · 1 comment
Open

Url helpers not found, when eager_load is enabled #229

nlsrchtr opened this issue Jan 25, 2023 · 1 comment

Comments

@nlsrchtr
Copy link

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 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
@andi
Copy link
Collaborator

andi commented Feb 3, 2023

Hi, would you have time to investigate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants