lib/appstats/sub_result.rb in appstats-0.21.3 vs lib/appstats/sub_result.rb in appstats-0.22.0
- old
+ new
@@ -1,7 +1,8 @@
module Appstats
class SubResult < ActiveRecord::Base
set_table_name "appstats_sub_results"
+ # establish_connection "appstats_#{Rails.env}" if connection.nil?
attr_accessible :context_filter, :count, :ratio_of_total
belongs_to :result, :foreign_key => "appstats_result_id"
def total_count
\ No newline at end of file