Sha256: 76f769d07fac5298e46507d4eb555e54b4700a525bbad4ea8798c97733cc2f54
Contents?: true
Size: 396 Bytes
Versions: 4
Compression:
Stored size: 396 Bytes
Contents
class Draft < ActiveRecord::Base belongs_to :team belongs_to :player validates_numericality_of(:player_id, only_integer: true) validates_numericality_of(:team_id, only_integer: true) validates_presence_of(:date) validates_numericality_of(:round, only_integer: true) validates_numericality_of(:pick, only_integer: true) validates_numericality_of(:overall, only_integer: true) end
Version data entries
4 entries across 4 versions & 1 rubygems