docs/mongo/README.md in flipper-mongo-0.21.0.rc1 vs docs/mongo/README.md in flipper-mongo-0.21.0.rc2
- old
+ new
@@ -26,12 +26,12 @@
**If you need to customize the adapter**, you can add this to an initializer:
```ruby
Flipper.configure do |config|
- config.default do
+ config.adapter do
collection = Mongo::Client.new(ENV["MONGO_URL"])["flipper"]
- Flipper.new(Flipper::Adapters::Mongo.new(collection))
+ Flipper::Adapters::Mongo.new(collection)
end
end
```
## Internals