Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 368 Bytes
module MongoidOrderable #:nodoc:
module Mongoid #:nodoc:
module Contextual #:nodoc:
module Memory #:nodoc:
def inc attribute, value
each do |document|
document.inc(attribute, value)
end
end
end
end
end
end
Mongoid::Contextual::Memory.send :include, MongoidOrderable::Mongoid::Contextual::Memory
Something went wrong with that request. Please try again.