Sha256: a068ab63dab143ac69568d7c718a5f4316110caa0896237cde08da26b0d86f12

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

module FieldTest
  class Membership < ActiveRecord::Base
    self.table_name = "field_test_memberships"

    validates :participant, presence: true
    validates :experiment, presence: true
    validates :variant, presence: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
field_test-0.2.0 app/models/field_test/membership.rb
field_test-0.1.2 app/models/field_test/membership.rb
field_test-0.1.1 app/models/field_test/membership.rb
field_test-0.1.0 app/models/field_test/membership.rb