lib/appstats/log_collector.rb in appstats-0.21.3 vs lib/appstats/log_collector.rb in appstats-0.22.0
- old
+ new
@@ -2,9 +2,10 @@
require 'net/scp'
module Appstats
class LogCollector < ActiveRecord::Base
set_table_name "appstats_log_collectors"
+ # establish_connection "appstats_#{Rails.env}" if connection.nil?
@@downloaded_log_directory = nil
attr_accessible :host, :filename, :status, :local_filename
has_many :entries, :table_name => 'appstats_entries', :foreign_key => 'appstats_log_collector_id', :order => 'action'
\ No newline at end of file