You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Edge Rails (443be75), using cookies.signed with a null_session raises "TypeError (can't convert nil into String)" at "rails/activesupport/lib/active_support/key_generator.rb:21:in `pbkdf2_hmac_sha1'".
# application_controller.rb
class ApplicationController < ActionController::Base
protect_from_forgery with: :null_session
def index
cookies.signed[:foo] = 'foo'
end
end
# routes.rb
Railstest::Application.routes.draw { post '/' => 'application#index' }
$ curl -d mydata http://localhost:3000
The text was updated successfully, but these errors were encountered:
I've removed the CHANGELOG entry b5645d0 because there's no need to provide that for a feature that was not released yet.
Sorry for making you go back and forth.
In Edge Rails (443be75), using cookies.signed with a null_session raises "TypeError (can't convert nil into String)" at "rails/activesupport/lib/active_support/key_generator.rb:21:in `pbkdf2_hmac_sha1'".
The text was updated successfully, but these errors were encountered: