Class: SportDb::Model::League

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/sportdb/models/models/league.rb,
lib/sportdb/models/models/forward.rb

Instance Method Summary collapse

Instance Method Details

#eventsObject

leagues also used for conferences, world series, cups, etc.

league (or cup/conference/series/etc.) + season (or year) = event



11
# File 'lib/sportdb/models/models/league.rb', line 11

has_many :events