Class MirrorUpdate
In: app/models/mirror_update.rb
Parent: ActiveRecord::Base
Author:Christian Reiniger <creinig@dotsrc.org>
License:GNU GPL v2 or later, as described in the accompanying LICENSE file

Homepage: dsadmin.dotsrc.org/


Last change:

CVS User:$Author: creinig $
Date:$Date: 2006-10-24 10:29:33 +0200 (Tue, 24 Oct 2006) $
Revision:$Revision: 110 $

Methods

Constants

SUCCESS = 'success'
FAILURE = 'failure'
DELAYED = 'delayed'

Public Class methods

[Source]

    # File app/models/mirror_update.rb, line 25
25:   def self.findLatestWithName(limit)
26:     find_by_sql(['select u.*, m.name as name from mirror_updates u, mirrors m '+
27:                 'where m.id = u.mirror_id order by u.id desc limit 0,?', limit])
28:   end

[Validate]