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
Post a Comment