Changeset 1880
- Timestamp:
- 11/18/08 21:16:37 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
community_hive/trunk/community_hive_web/app/models/history_url.rb
r1722 r1880 19 19 unless url_obj.status == 'suspicious' 20 20 if cnt > 1 21 logger.info("DID THE HISTORY CHECK")22 21 a = HistoryUrl.find(:all,:conditions => ["url = ? and status = ?",url_obj.url,"suspicious"]) 23 22 result = a.size > 0 … … 27 26 end 28 27 28 def self.by_job(job) 29 find(:all, :conditions => ["job_id = ?",job]) 30 end 31 32 29 33 30 34 end
