class Tournament < ActiveRecord::Base
    belongs_to :team
    validates :name, presence: true, uniqueness: true 
    #validates :date, presence: true
    #validate for presence and uniqueness of name, presence of date
end