You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded from Rails 3 to Rails 5. So we had to move from carrierwave gem to carrierwave-mongoid. Previously we used to connect to 2 different databases based on which connection the uploader class used and overriding grid_fs_connection (now seemingly gone from mongoid). Mongoid itself supports multiple databases however we are unable to figure out how to override carrierwave-mongoid's use of the default database.
The text was updated successfully, but these errors were encountered:
We recently upgraded from Rails 3 to Rails 5. So we had to move from carrierwave gem to carrierwave-mongoid. Previously we used to connect to 2 different databases based on which connection the uploader class used and overriding grid_fs_connection (now seemingly gone from mongoid). Mongoid itself supports multiple databases however we are unable to figure out how to override carrierwave-mongoid's use of the default database.
The text was updated successfully, but these errors were encountered: