Environment: Ruby 1.9.3-p327, Rails 3.2.9, Mongoid 3.0.9, Carrierwave-Mongoid 0.3.0
What is the correct way to configure a connection to a mongo database outside the scope of my Rails application? I have tried this in my config block:
config.grid_fs_connection Moped::Session.new([ "127.0.0.1:27017" ]).use "thumbs_grid"
This results in an error. I thought maybe this was the new method to establish a connection. I was used to using the config.grid_fs_database, etc. methods for connections.
@agentrock It is no longer necessary to set the grid_fs_connection config setting with the carrierwave-mongoid 0.3.0. It now depends on mongoid-grid_fs, which automatically uses the Mongoid connection.
This was unclear in the README, because the README still referenced the old config mechanism. Sorry about that, but I just remedied that.
If this doesn't address your issue, feel free to reopen this issue.