Sha256: eb1dd4f51e3d48d5ebd5ff542b769d4e08c93f83caca3c6bf635e0bb4fabde59

Contents?: true

Size: 617 Bytes

Versions: 13

Compression:

Stored size: 617 Bytes

Contents

# == Schema Information
#
# Table name: conductor_daily_experiments
#
#  id               :integer         not null, primary key
#  activity_date    :date
#  group_name       :string(255)
#  option_name      :string(255)
#  conversion_value :decimal(8, 2)
#  views            :integer
#  conversions      :integer
#

class Conductor::Experiment::Daily < ActiveRecord::Base
  set_table_name "conductor_daily_experiments"
  named_scope :since, lambda { |a_date| { :conditions =>  ['activity_date >= ?',a_date] }}
  named_scope :for_group, lambda { |group_name| { :conditions =>  ['group_name = ?',group_name] }}
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
conductor-0.7.2 lib/conductor/experiment/daily.rb
conductor-0.7.1 lib/conductor/experiment/daily.rb
conductor-0.7.0 lib/conductor/experiment/daily.rb
conductor-0.6.5 lib/conductor/experiment/daily.rb
conductor-0.6.4 lib/conductor/experiment/daily.rb
conductor-0.6.3 lib/conductor/experiment/daily.rb
conductor-0.5.15 lib/conductor/experiment/daily.rb
conductor-0.5.14 lib/conductor/experiment/daily.rb
conductor-0.5.13 lib/conductor/experiment/daily.rb
conductor-0.5.12 lib/conductor/experiment/daily.rb
conductor-0.5.11 lib/conductor/experiment/daily.rb
conductor-0.5.10 lib/conductor/experiment/daily.rb
conductor-0.5.0 lib/conductor/experiment/daily.rb