Skip to content

Instantly share code, notes, and snippets.

@wjessop
Created December 2, 2008 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wjessop/31291 to your computer and use it in GitHub Desktop.
Save wjessop/31291 to your computer and use it in GitHub Desktop.
class ApplicationController < ActionController::Base
session :off, :if => Proc.new { |req| req.headers["User-Agent"].match(/ia_archiver/) }
# … other code
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment