Skip to content

jamo/devise_bug_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce with something like:

  1. rails g devise:install
  2. rails g devise User
  3. rake db:migrate
  4. create a controller with: a. one valid action b. include ActionController::Live c. add before_action :authenticate_user!

GET'ing that action will raise the exception ArgumentError (uncaught throw :warden)

This may just be a bug in Rails or Warden.

About

Demo the Warden/Devise/Rails4 failure to catch :warden

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 96.2%
  • JavaScript 2.1%
  • CSS 1.7%