heroku/facebook-template-ruby — pull request #5 by schneems (2012-02-29 22:39:10+00:00)
Title: Allow Users To Sign In Using Javascript or Oauth

Porting the functionality to better line up with the PHP functionality. We can pull the Auth key directly from oauth, or from a cookie set by Facebook.

As usual I put a demo on: https://sharp-dusk-7286.herokuapp.com/

With one major difference, the `/sign_out` no longer works (the php doesn't have a sign out option either). You will need to manually remove Facebook permissions for the app or you can use `/preview/logged_out` to get a taste of what it will look like logged out, thought it doesn't actually log you out.