Sha256: f0d9faabab74f7db9b5902cf04a98d62579542ba8be65d07a4a93380f48c4225

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

# Indicates that a specific feature has been rolled out to an individual
# Table for storing flaggable flag-ins, group flag-ins, or percentage-based
# flag-ins.
class Detour::Flag < ActiveRecord::Base
  self.table_name = :detour_flags

  belongs_to :feature

  validates :feature_id, presence: true
  validates :flaggable_type, presence: true

  attr_accessible :flaggable_type
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
detour-0.0.1 lib/detour/flag.rb