Open cyberkostyan opened 7 years ago
Seems like it should be spree_role_users
@cyberkostyan try running bundle exec rake spree_roles:permissions:populate
and try opening the admin end again
@pikender I did like you suggested but still have the same error. I'm using Spree 3.2 and spree_admin_roles_and_access 2.0.0
Correct me if i'm wrong.
Thanks!
@huyngvu
Any reason for not using the latest version of this extension ?
The latest version has a lot of improvements including a fancy UI for admin.
As can be seen in the shared screen print, the extension is looking for a table spree_roles_users
which does not exist in your db.
This join table used to be there (hard coded) until recently. See this commit for details
P.S. I have used this extension in one of my projects and will be happy to share my experience.
@Anuragjain89 thanks bro, I fixed it yesterday by override User model.
The latest version you said is branch master?
@huyngvu
Yep. That's the latest one.
In fact, there are some more improvements / bug fixes ( here's my PR ) lined up which are likely to be merged into the master.
Hi, I'm using spree-3-1 and after installing this gem I can't enter admin area, it fails on this line with such error
I've tried in console
but I can see such roles created after installing