lib/picky/bundle_realtime.rb in picky-4.0.1 vs lib/picky/bundle_realtime.rb in picky-4.0.3
- old
+ new
@@ -37,10 +37,10 @@
str_or_syms = @realtime[id] ||= []
# Inverted.
#
ids = if str_or_syms.include? str_or_sym
- ids = @inverted[str_or_sym]
+ ids = @inverted[str_or_sym] ||= []
ids.delete id
ids.send where, id
else
# Update the realtime index.
#