Add the consistency_fail gem to check for missing uniqueness constraints.
Add the consistency_fail gem to check for missing uniqueness constraints.
Multitenancy gem, using acts_as_tenant.
Implement the tenancy decision based on looking up the host name.
Ensure that we always have one root instance.
First spec for the Instance model.
Loading seeds should be part of the Rails helper.
Define some tests for the instance model, just to try out RSpec/Factory Girl.
Refactor hostname lookup logic to the Instance model.
Fixed broken controller.
Document how to set up the database for development and testing.
Rename 'hostname' to 'host' for consistency with the HTTP spec.
Fix accidental breakage when querying for hosts.
Make the generated host names unique to a test run.
More behaviours with regard to www handling for hosts.
Fix Hound lint warnings.