diff options
| author | Alban Peignier | 2012-04-16 11:05:43 +0200 |
|---|---|---|
| committer | Alban Peignier | 2012-04-16 11:05:43 +0200 |
| commit | a4322f239bef8baa6dcc328893b99ae8bd72f175 (patch) | |
| tree | 1b6d81f5cf2908345a1793c3820c96156c4e9b03 | |
| parent | 6a1c397ab8da975286dc96bbb475b9c7083c360a (diff) | |
| download | chouette-core-a4322f239bef8baa6dcc328893b99ae8bd72f175.tar.bz2 | |
Add User in excluded models for apartment. Refs #7
| -rw-r--r-- | config/initializers/apartment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/apartment.rb b/config/initializers/apartment.rb index 6c345f7f8..542d7a956 100644 --- a/config/initializers/apartment.rb +++ b/config/initializers/apartment.rb @@ -1,7 +1,7 @@ Apartment.configure do |config| # set your options (described below) here - config.excluded_models = ["Referential"] # these models will not be multi-tenanted, but remain in the global (public) namespace + config.excluded_models = ["Referential", "User"] # these models will not be multi-tenanted, but remain in the global (public) namespace # Dynamically get database names to migrate config.database_names = lambda{ Referential.select(:slug).map(&:slug) } -end
\ No newline at end of file +end |
