Skip to content

Instantly share code, notes, and snippets.

@mickey
Created November 19, 2009 22:55
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 mickey/239125 to your computer and use it in GitHub Desktop.
Save mickey/239125 to your computer and use it in GitHub Desktop.
def unlogged
request.env['warden'] = Warden::Proxy.new(request.env, {:default_strategies => [:rememberable, :authenticable],:silence_missing_strategies => true})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment