Sha256: 8c8bb8febe70d96a02ff8aafe19e8e235aea620136ef4e11c1cffa1702e79b60

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

# == Schema Information
#
# Table name: conductor_raw_experiments
#
#  id               :integer         not null, primary key
#  identity_id      :string(255)
#  group_name       :string(255)
#  option_name      :string(255)
#  conversion_value :decimal(8, 2)
#  created_at       :datetime
#  updated_at       :datetime
#

class Conductor::Experiment::Raw < ActiveRecord::Base
  set_table_name "conductor_raw_experiments"
  
  validates_presence_of :group_name, :option_name
  
  def created_date
    self.created_at.strftime('%Y-%m-%d')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conductor-0.2.16 lib/conductor/experiment/raw.rb
conductor-0.2.15 lib/conductor/experiment/raw.rb
conductor-0.2.13 lib/conductor/experiment/raw.rb