RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: d-Pixie
Site: d-pixie.se
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.
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.