How use gem Cancan on Rails

12 views
Skip to first unread message

Nguyen Nhat

unread,
Jan 20, 2016, 4:00:12 AM1/20/16
to rubyonra...@googlegroups.com
I have read a lot of website tutorial Cancan gem, but I can't understand
it.
I want to create, edit role, and add user to role. config premiss for
role. etc...

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Jan 20, 2016, 4:31:55 AM1/20/16
to Ruby on Rails: Talk
On 20 January 2016 at 08:59, Nguyen Nhat <li...@ruby-forum.com> wrote:
> I have read a lot of website tutorial Cancan gem, but I can't understand
> it.
> I want to create, edit role, and add user to role. config premiss for
> role. etc...

You are probably better going with the cancancan gem which follows on
from cancan. Instructions for using it can be found at [1]. If there
is anything there you do not understand then come back and ask
specific questions.

Colin

[1] https://github.com/CanCanCommunity/cancancan
Reply all
Reply to author
Forward
0 new messages