diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index 2c46dd1..0644f82 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -6,6 +6,8 @@ end CarrierWave.configure do |config| config.grid_fs_database = db_config[Rails.env]['database'] + config.grid_fs_username = db_config[Rails.env]['username'] + config.grid_fs_password = db_config[Rails.env]['password'] config.grid_fs_host = db_config[Rails.env]['host'] config.grid_fs_port = db_config[Rails.env]['port'] config.storage = :grid_fs