web/app/models/benchmark_info.rb
author Marcel Hlopko <marcel.hlopko@gmail.com>
Thu, 20 Jun 2013 21:55:29 +0200
changeset 58 9abca6faa558
parent 55 79679c96c6b2
child 64 db49a0739ce5
permissions -rw-r--r--
wohoo bug fixed

# == Schema Information
#
# Table name: benchmark_infos
#
#  id          :integer          not null, primary key
#  class       :string(255)
#  selector    :string(255)
#  description :text
#  created_at  :datetime
#  updated_at  :datetime
#

class BenchmarkInfo < ActiveRecord::Base

  has_many :benchmark_results, inverse_of: :benchmark_info

  validates_presence_of :benchmark_class, :benchmark_selector

end