module ActionController::RequestForgeryProtection::ClassMethods

def is_storage_strategy?(object)

def is_storage_strategy?(object)
  object.respond_to?(:fetch) && object.respond_to?(:store) && object.respond_to?(:reset)
end