Sha256: d5620c36cf8412a4ee2b75757144e82dfa7359ded700522b0bee1ca211d01916

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

module Flipper
  module ActiveRecord
    class Feature < ::ActiveRecord::Base
      self.table_name = "flipper_features"

      has_many :gates, foreign_key: "flipper_feature_id", :dependent => :destroy
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
flipper-activerecord-0.1.3 lib/flipper/activerecord/feature.rb
flipper-activerecord-0.1.2 lib/flipper/activerecord/feature.rb
flipper-activerecord3dot2-0.1.2 lib/flipper/activerecord/feature.rb
flipper-activerecord-0.1.1 lib/flipper/activerecord/feature.rb