Sha256: e4f1539365fec6eef227dd79d509bdb212ff2ddc4aa7ad53e0eb6589ebd31275
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
# == Schema Information # # Table name: conductor_weighted_experiments # # id :integer not null, primary key # group_name :string(255) # option_name :string(255) # weight :decimal(8, 2) # created_at :datetime # updated_at :datetime # class Conductor::Experiment::Weight < ActiveRecord::Base set_table_name "conductor_weighted_experiments" named_scope :for_group, lambda { |group_name| { :conditions => ['group_name = ?',group_name] }} named_scope :with_alternative, lambda { |alternative| { :conditions => ['alternative = ?',alternative] }} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conductor-0.8.3 | lib/conductor/rails/models/weight.rb |
conductor-0.8.1 | lib/conductor/experiment/weight.rb |