Exception: Toy::Mongo::IncompatibleAdapter
- Defined in:
- lib/toy/mongo/atomic_updates.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ IncompatibleAdapter
constructor
A new instance of IncompatibleAdapter.
Constructor Details
#initialize(name) ⇒ IncompatibleAdapter
Returns a new instance of IncompatibleAdapter.
4 5 6 |
# File 'lib/toy/mongo/atomic_updates.rb', line 4 def initialize(name) super "In order to use partial updates, you need to be using the :mongo_atomic adapter, but you are using :#{name}" end |