This document provides an installation guide for setting up Rails 3 with Devise, Oauth2 and Mongoid. It covers installing the necessary gems, configuring Devise for Oauth authentication with Facebook, handling callbacks and allowing users to login via Facebook or locally. It notes that Oauth2 uses the email as the key and Devise requires a password, so a fake password is inserted to allow both Oauth and local logins. The document concludes by emphasizing that the gem ecosystem changes rapidly and to check if any advice has been superseded.