Sha256: 65dd7b2deb03065daf9742ce9a1bd1d283d8a1e0f1e4ecfe661094bbddee3bb2
Contents?: true
Size: 405 Bytes
Versions: 8
Compression:
Stored size: 405 Bytes
Contents
class Draft < ActiveRecord::Base 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 belongs_to :team belongs_to :player end
Version data entries
8 entries across 8 versions & 1 rubygems