Sha256: 5a8eb8fbbc3a27e984c8ee6ebee7e2fd43c6b96081c7a8f46990e02bbe651ec1

Contents?: true

Size: 168 Bytes

Versions: 30

Compression:

Stored size: 168 Bytes

Contents

class Team < ActiveRecord::Base
  validates_uniqueness_of :name
  validates_uniqueness_of :short_name
  has_many :seedings
  has_many :pools, :through => :seedings
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
tournament-5.0.0 webgui/app/models/team.rb
tournament-4.2.0 webgui/app/models/team.rb
tournament-4.0.2 webgui/app/models/team.rb
tournament-4.0.0 webgui/app/models/team.rb
tournament-3.3.3 webgui/app/models/team.rb
tournament-3.3.2 webgui/app/models/team.rb
tournament-3.3.1 webgui/app/models/team.rb
tournament-3.3.0 webgui/app/models/team.rb
tournament-3.2.2 webgui/app/models/team.rb
tournament-3.2.1 webgui/app/models/team.rb
tournament-3.2.0 webgui/app/models/team.rb
tournament-3.1.1 webgui/app/models/team.rb
tournament-3.1.0 webgui/app/models/team.rb
tournament-3.0.3 webgui/app/models/team.rb
tournament-3.0.2 webgui/app/models/team.rb
tournament-3.0.1 webgui/app/models/team.rb
tournament-3.0.0 webgui/app/models/team.rb
tournament-2.1.0 webgui/app/models/team.rb
tournament-2.1.2 webgui/app/models/team.rb
tournament-2.2.1 webgui/app/models/team.rb