RailsCasts Pro episodes are now free!

Learn more or hide this

dynamicworkplace's Profile

GitHub User: dynamicworkplace

Comments by

Avatar

After adding a tenant_id and default_scope, where is the best place to add this to be used by Rspec tests (where all database queries are currently failing due to the tenant_id being null)? Can I put this in a single place to be applied this across multiple tests?

Thank you