Sha256: 85bd03c5b9393ed5069076e23e0b9c26b5e413139e13e02d2dc93b47c6a9bf51

Contents?: true

Size: 176 Bytes

Versions: 10

Compression:

Stored size: 176 Bytes

Contents

class Monitorship < ActiveRecord::Base
  belongs_to :user
  belongs_to :topic
  validates_presence_of :user, :topic
  validates_uniqueness_of :user_id, :scope => :topic_id
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 app/models/monitorship.rb
community_engine-3.0.0 app/models/monitorship.rb
community_engine-2.3.2 app/models/monitorship.rb
community_engine-2.3.1 app/models/monitorship.rb
community_engine-2.3.0 app/models/monitorship.rb
community_engine-2.1.0 app/models/monitorship.rb
community_engine-2.0.0 app/models/monitorship.rb
community_engine-2.0.0.beta3 app/models/monitorship.rb
community_engine-2.0.0.beta2 app/models/monitorship.rb
community_engine-2.0.0.beta1 app/models/monitorship.rb