An example Rails 3.2 app with subdomains and authentication using Devise. With a tutorial.