Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f1903aba6a
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.226 kb
class Category < ActiveRecord::Base
belongs_to :site
belongs_to :user
has_many :tests, :class_name => 'ABTest', :dependent => :destroy
has_many :variants
validates_uniqueness_of :name, :scope => :site_id
end
Jump to Line
Something went wrong with that request. Please try again.