devise - Rails: warning: already initialized constant User::HABTM_Roles rolify -


this issue i' m facing when trying create seeds.rb inorder define roles rolify gem in rails

on line 2, change rolify rolify: role_cname => 'usertype' to

rolify :role_cname => 'usertype'

you have 2 rolify on user.rb, 1 sufficient.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -