So this is the error I see: TypeError in Devise/sessionsController#create can\'t convert Fixnum i开发者_JAVA技巧nto String
I\'m coming here as a last resort, tried everything.Its just not working. So here goes. Here is my authorization code:
I am having awful trouble getting functional tests to work when using devise and declarative authorization. I can use the devise test helpers to sign_in a user and then the current_user variable is po
using the delcarative_authorization gem for rails, is there a shortcut to allow a role access to all controller actions?
I\'m trying to use an after_create to set the default user role to subscriber. But it doesn\'t appear to make any changes. The roles of the new user is always [\" \" ].
I keep getting that error when trying to access any of my views. I\'m trying to setup Declaritive Authorization.
I\'m running bundler with rails 2.3.4. I\'m trying to get declarative_authorization to work (I added it to my Gemfile).
Is there a way to have with_permissions_to in a single place globally so that it applies to EVERY fin开发者_如何学Cder method of all models.
When using Authlogic\'s HTTP Basic auth, UserSession.find returns nil since the session appears not to be set. As a result, declarative_authorization, which references the usual current_user method (a
help rails 3 came out yesterday, we have a fully functional rails 2.3.8 app, but our deployment on he开发者_如何学Croku doesn\'t work because declarative_authorization demands rails 2.1 or higher