Created
March 19, 2014 14:20
-
-
Save superCap3/9642589 to your computer and use it in GitHub Desktop.
dhd stress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Puma caught this error: `protect_from_csrf` is activated, but `sessions` are not. To enable csrf | |
protection, use: | |
enable :sessions | |
or deactivate protect_from_csrf: | |
disable :protect_from_csrf | |
(RuntimeError) | |
/app/vendor/bundle/ruby/2.1.0/gems/padrino-core-0.11.4/lib/padrino-core/application.rb:271:in `setup_csrf_protection' | |
/app/vendor/bundle/ruby/2.1.0/gems/padrino-core-0.11.4/lib/padrino-core/application.rb:264:in `setup_default_middleware' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1462:in `build' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1455:in `new' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1444:in `prototype' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `block in call' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in `synchronize' | |
/app/vendor/bundle/ruby/2.1.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `call' | |
/app/vendor/bundle/ruby/2.1.0/gems/padrino-core-0.11.4/lib/padrino-core/router.rb:81:in `block in call' | |
/app/vendor/bundle/ruby/2.1.0/gems/padrino-core-0.11.4/lib/padrino-core/router.rb:74:in `each' | |
/app/vendor/bundle/ruby/2.1.0/gems/padrino-core-0.11.4/lib/padrino-core/router.rb:74:in `call' | |
/app/vendor/bundle/ruby/2.1.0/gems/puma-2.7.1/lib/puma/server.rb:486:in `handle_request' | |
/app/vendor/bundle/ruby/2.1.0/gems/puma-2.7.1/lib/puma/server.rb:357:in `process_client' | |
/app/vendor/bundle/ruby/2.1.0/gems/puma-2.7.1/lib/puma/server.rb:250:in `block in run' | |
/app/vendor/bundle/ruby/2.1.0/gems/puma-2.7.1/lib/puma/thread_pool.rb:92:in `call' | |
/app/vendor/bundle/ruby/2.1.0/gems/puma-2.7.1/lib/puma/thread_pool.rb:92:in `block in spawn_thread' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment