I have a User model where i save user information, and i have Role model where i save the roles. The Association is: (one user can have just one role, one role has many users). In my controller i have some actions like: create, update, edit, new etc, now the admin can do everything and simple user can just read. I have no idea how to implement this cancancan thing, iv read the documentation but there no such similarity with my application.
Thanks in advance