The CanCan gem offers a straight forward and flexible way to define what a user can and cannot do.
I made authentication in my Rails 3 app fallowed by Tony's tutorial I don't want public registrations on my app, just …
ruby-on-rails-3 devise cancanIf I have a Devise model User, of which only those users with role :admin are allowed to view a …
ruby-on-rails rspec devise cancanI am writing a rails application for an organization. Every user may have 1 or more roles and can only access …
ruby-on-rails ruby ruby-on-rails-4 authorization cancanI have a Groups Controller with a method def inbox. If the user is a group member then inbox returns …
json ruby-on-rails-3 testing rspec cancanI am having difficulty getting a rspec test for a controller to pass. I would like to test that the …
ruby-on-rails rspec devise cancanI'm working on a project management app, and in the app, I have project_managers and clients. I'm using Devise …
ruby-on-rails authentication routes devise cancanI'm working on a rails project in which I use CanCan to authorize my resources. When a user is not …
rspec controller cancan rspec-railsI'm quite new to this and I'm using cancan + devise for my user auth. However I'm not really sure what …
ruby-on-rails devise relational-database has-and-belongs-to-many cancanBecause anyone can sign up and then log in,... and because a user isn't identified for roles until after log …
ruby-on-rails-3 devise cancanI'm using devise and cancan in a Rails 3.2 project. I have an event model with a boolean flag public. If …
ruby-on-rails devise cancan