Sha256: 23f53c1fc487eb9b6e434d22e0c957fe9263d0857a80cb111e68f1f823d8caf2

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

module SportDB::Models


class League < ActiveRecord::Base
  
  ## leagues also used for conferences, world series, cups, etc.
  #
  ## league (cup/conference/series/etc.) + season (year) = event
  
  has_many :events
  
  ### has_many :seasons ## through events  add

end  # class League


end # module SportDB::Models

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sportdb-0.5.3 lib/sportdb/models/league.rb
sportdb-0.5.2 lib/sportdb/models/league.rb
sportdb-0.5.1 lib/sportdb/models/league.rb
sportdb-0.5.0 lib/sportdb/models/league.rb