Add couchbase with modifications, formalize broadcaster and make testable and some other stuff
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#TODO: this is really ugly, can cause memory leaks and much more bad stuff. We need a new broadcaster....
|
||||
require 'simply_stored/couch'
|
||||
module ModelBroadcast
|
||||
def broadcast_supplier(*args)
|
||||
@@ -8,4 +9,4 @@ module ModelBroadcast
|
||||
end
|
||||
end
|
||||
SimplyStored::Couch.send(:include, ModelBroadcast)
|
||||
SimplyStored::Couch.send(:extend, ModelBroadcast)
|
||||
#SimplyStored::Couch.send(:extend, ModelBroadcast) # this should never happen!!!
|
||||
|
||||
Reference in New Issue
Block a user