Class: SportDb::Model::League
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SportDb::Model::League
- Defined in:
- lib/sportdb/models/models/league.rb,
lib/sportdb/models/models/forward.rb
Instance Method Summary collapse
-
#events ⇒ Object
leagues also used for conferences, world series, cups, etc.
Instance Method Details
#events ⇒ Object
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 |