I am running devise 1.3.4 with rails 3.0.7. I have two ways users may sign in: using the web app, and using a mobile web app (via a JSON API call). The first way is handled perfectly by the default de
I am using Rails War开发者_如何学Goden plugin. It defines a helper method \'user\' that returns current user. See the link for the source code.
I installed the ra开发者_开发问答ils admin gem, and have it working with Devise easily enough. I want to authorize the user via a boolean value, since not all users are admin. Though I\'m not sure whe
I want my SSO custom strategy to be the only strategy that devise uses.I\'m doing this by: config.warden do |manager|
I\'m trying to do functional testing and need to login with Warden. I have done: class ActionController::TestCase
For my lastest project I\'m using https://github.com/hassox/rails_warden. It suits my needs very well except that I can\'t find a good way to implement remember_me. I know that it\'s notoriously diffi
I want all users开发者_Go百科 to my site to have a default \"Guest\" session. I am using Devise. All of my devise code is working for signed up users, but I also have a user record for a \"Guest\" use
By the way, I\'m using rails 3. How can I use devise\'s \"warden\" to authenticate a rack app in the same