config/initializers/apartment.rb in cadenero-0.0.2.b8 vs config/initializers/apartment.rb in cadenero-0.0.2.b10
- old
+ new
@@ -5,10 +5,10 @@
Apartment.configure do |config|
config.excluded_models = ["Cadenero::V1::Account",
"Cadenero::Member",
"Cadenero::User"]
- # Dynamically get database names to migrate
- # config.database_names = lambda{ Account.pluck(:database_name) }
end
+# Dynamically get database names to migrate
+# config.database_names = lambda{ Account.pluck(:database_name) }
Apartment.database_names = lambda{ Cadenero::V1::Account.pluck(:subdomain)}
\ No newline at end of file