Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jonas Schubert Erlandsson's Profile

GitHub User: d-Pixie

Site: d-pixie.se

Comments by Jonas Schubert Erlandsson

Avatar

I quickly run in to some kind of brick wall when trying this out, TDD style ofc ;) This blog post, by someone running faster than me, cleared most of it up: http://www.superpumpup.com/blog/1079982-postgresql-schema-multi-tenancy-and-rspec-testing/

So if you are having troubles with Database Cleaner not being cleanly enough with your schemas, give it a read.