-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error while using Administrate when Ahoy is already installed in App #2689
Comments
Thanks for opening this! Could you be able to setup an example project in a repo somewhere where I can try out this particular situation? I've not used Ahoy before, so I don't know how it might be, but it seems like it's clashing somewhere. |
Hey @nickcharlton I have made this sample project with user model |
I'm sure this is because the Visit model from ahoy lives in Ahoy::Visit, and aministrate doesn't support namespaced model names (yet). |
@kapilpdev, thank you! I'll take a look soon. @srbaker, yeah, that's likely it. It does support a lot more than it did, but we might have just found a situation where it's not working. |
@nickcharlton Naturally Ahoy visits generate automatically as it stores the activities of a user. Each new visit stores data such as: the user navigated from one page to another in the application, the user clicked a button, or the user created a new object. So in my project I was not able to create a Dashboard for the Ahoy Visits, and because of the same reason I had to remove all the ahoy visit references from all the dashboard of the models it was associated to. |
I was trying to see the user page in the administrate dashboard and it throws me an error
i can see the index of users but when i click on a specific user it give me this error:
Ahoy is tracking every action, so whenever I try to open any model's show page this error is shown
The text was updated successfully, but these errors were encountered: