• S
    configure how unverified request will be handled · 24594110
    Sergey Nartimov 提交于
    can be configured using `:with` option in `protect_from_forgery` method
    or `request_forgery_protection_method` config option
    
    possible values:
    - :reset_session (default)
    - :exception
    
    new applications are generated with:
    
        protect_from_forgery :with => :exception
    24594110
request_forgery_protection_test.rb 7.2 KB