Sha256: a63fa95a77e8f08e389853d8c01ef410eb179cbf0d2cfdc2cf8744057a5064c0

Contents?: true

Size: 206 Bytes

Versions: 16

Compression:

Stored size: 206 Bytes

Contents

class ProjectCollaborator < ActiveRecord::Base

  ##
  # Validations
  #

  validates_uniqueness_of :user_id, :scope => :project_id

  ##
  # Associations
  #

  belongs_to :user
  belongs_to :project

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.11.rc4 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.11.rc3 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc7 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc6 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc5 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc4 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc3 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc2 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.11.rc2 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.11.rc1 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.1.0.rc1 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.10 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.9 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.8 test/fixtures/rails_app/app/models/project_collaborator.rb
typus-3.0.7 test/fixtures/rails_app/app/models/project_collaborator.rb