lib/safubot/bot.rb in safubot-0.0.4 vs lib/safubot/bot.rb in safubot-0.0.5

- old
+ new

@@ -178,10 +178,10 @@ end end # This pulls requests from passive non-streaming sources (currently, the Twitter AJAX API). def pull - @twitter.pull + @twitter.pull if @twitter end # Goes through each unprocessed Request and submits it for processing. def process Request.where(:processed => false).each do |req|