lib/donaghy/adapters/storage/mongo_storage.rb
# redis.sismember doesn't work here for some reason
redis.sismember doesn't work here for some reason
redis . sismember doesn ' t work here for some reason
def member_of?(key, value)
          document = document_for_key(key)
          if document
            Array(document['val']).include?(value)
          end
        end
def member_of? ( key , value ) document = document_for_key ( key ) if document Array ( document [ 'val' ] ) . include? ( value ) end end
redis.sismember doesn't work here for some reason
redis . sismember doesn ' t work here for some reason
key
<not_specific>
value
<not_specific>