-
Notifications
You must be signed in to change notification settings - Fork 405
Open
Description
Hi,
Is there any way to tell rolify to set prefix name for join table users_roles
to have something like prefix_users_roles
?
As I can see in the source code you are using tableize on the role_cname:
https://github.com/RolifyCommunity/rolify/blob/master/lib/rolify.rb#L20
self.role_table_name = self.role_cname.tableize.gsub(/\//, "_")
which in my understanding will never resolve proper table name if we will set in ActiveRecord table_name_prefix
.
Is that correct or I am missing something?
Please advise me how to set proper table_name_prefix for all tables used by rolify.
Thanks a lot
Metadata
Metadata
Assignees
Labels
No labels