Sha256: 7fc5465a96ea03f1c4227bdee5d244b4b1e56c7977c3962d5e8c9a1aaeb0128a

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 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 ActiveRecord::Rollout::Flag < ActiveRecord::Base
  self.table_name = :active_record_rollout_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
active_record_rollout-0.0.1 lib/active_record/rollout/flag.rb