Method: Myreplicator::HomeController#export_errors

Defined in:
app/controllers/myreplicator/home_controller.rb

#export_errorsObject



18
19
20
21
22
23
24
# File 'app/controllers/myreplicator/home_controller.rb', line 18

def export_errors
  @tab = 'home'
  @option = 'errors'
  @exports = Export.where("error is not null").order('source_schema ASC')    
  @logs = Log.where("state = 'error' AND job_type = 'export'").order("id DESC").limit(200)
  @count = Log.where("state = 'error' AND job_type = 'export'").count
end