Displaying 1 result from an estimated 1 matches for "assets_ipaddr_id".
2006 Oct 04
0
do_work and long running rails tasks?
...ip|
@percent += step
new_rows = Sysloglog.find(:all,
:limit => 20,
:offset => 0,
:order => "eventtime DESC",
:conditions => [ "assets_ipaddr_id
= ?", ip.id ]
)
@rows << new_rows.collect { |s| s.id }
end
self.kill
rescue Exception => e
@logger.error "Exception: #{e}"
@percent = 100
self.kill
end
-- snip ---
--- controller.rb --
def syslog_progr...