Sha256: 7862323cc6c69abade9468a2f45468b519bcd8d5920b6604e439bf971b06604b

Contents?: true

Size: 216 Bytes

Versions: 18

Compression:

Stored size: 216 Bytes

Contents

module FieldTest
  class Event < ActiveRecord::Base
    self.table_name = "field_test_events"

    belongs_to :field_test_membership, class_name: "FieldTest::Membership"
    validates :name, presence: true
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
field_test-0.7.0 app/models/field_test/event.rb
field_test-0.6.1 app/models/field_test/event.rb
field_test-0.6.0 app/models/field_test/event.rb
field_test-0.5.5 app/models/field_test/event.rb
field_test-0.5.4 app/models/field_test/event.rb
field_test-0.5.3 app/models/field_test/event.rb
field_test-0.5.2 app/models/field_test/event.rb
field_test-0.5.1 app/models/field_test/event.rb
field_test-0.5.0 app/models/field_test/event.rb
field_test-0.4.1 app/models/field_test/event.rb
field_test-0.4.0 app/models/field_test/event.rb
field_test-0.3.2 app/models/field_test/event.rb
field_test-0.3.1 app/models/field_test/event.rb
field_test-0.3.0 app/models/field_test/event.rb
field_test-0.2.4 app/models/field_test/event.rb
field_test-0.2.3 app/models/field_test/event.rb
field_test-0.2.2 app/models/field_test/event.rb
field_test-0.2.1 app/models/field_test/event.rb