an example rails 4.0 application with:  devise authentication, mongoid (ORM), omniauth (facebook and twitter)