README.md in apartment-0.11.1 vs README.md in apartment-0.12.0
- old
+ new
@@ -84,10 +84,12 @@
### Excluding models
If you have some models that should always access the 'root' database, you can specify this by configuring
Apartment using `Apartment.configure`. This will yield a config object for you. You can set excluded models like so:
- config.excluded_models = [User, Company] # these models will not be multi-tenanted, but remain in the global (public) namespace
+ config.excluded_models = ["User", "Company"] # these models will not be multi-tenanted, but remain in the global (public) namespace
+
+Note that a string representation of the model name is now the standard so that models are properly constantized when reloaded in development
### Handling Environments
By default, when not using postgresql schemas, Apartment will prepend the environment to the database name
to ensure there is no conflict between your environments. This is mainly for the benefit of your development