method

any_authenticity_token_valid?

rails latest stable - Class: ActionController::RequestForgeryProtection