You can clone with
HTTPS or Subversion.
Use this project as a starting point for a Rails 3 application that uses subdomains and authentication. User management and authentication is implemented using Devise.
A complete “walkthrough” tutorial is here on the Wiki:
This tutorial documents each step that you must follow to create this application.