```ruby
require 'mongoid'

Mongoid.configure do |config|
    name = "dummy_development"
    host = "localhost"
    config.master = Mongo::Connection.new.db(name)
end```

Change datables based on ENV
user
```ruby
require 'mongoid'

Mongoid.configure do |config|
    name = "dummy_#{Rails.env}"
    host = "localhost"
    config.master = Mongo::Connection.new.db(name)
end```
assistant