Sha256: db098eeebb309b3de923d92c33803b488d317014b5566780b641ae18e406c5aa
Contents?: true
Size: 452 Bytes
Versions: 10
Compression:
Stored size: 452 Bytes
Contents
class Draft < ActiveRecord::Base validates_presence_of :player_id validates_numericality_of :player_id validates_presence_of :team_id validates_numericality_of :team_id validates_presence_of :date validates_presence_of :round validates_numericality_of :round validates_presence_of :pick validates_numericality_of :pick validates_presence_of :overall validates_numericality_of :overall belongs_to :team belongs_to :player end
Version data entries
10 entries across 10 versions & 2 rubygems