class DocumentTweet

Cola de tweets enviados y por enviar. Se tweetean

Public Class Methods

pending(account) click to toggle source
# File app/models/document_tweet.rb, line 38
def self.pending(account)
  self.find :all, 
            :conditions => ["tweet_at <= ? AND tweeted_at IS NULL AND tweet_account=?", Time.zone.now, account], 
            :order => "created_at"
end