Sha256: ff1cb0f53e67a22928001f35fd150f14e931ec04fecad66bcbfcbe212a574e98

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

# encoding: utf-8

module WorldDb
  module Model

  class Continent
    has_many :teams,          :through => :countries

    # fix: require active record 4
    # has_many :clubs,          :through => :countries
    # has_many :national_teams, :through => :countries


    has_many :leagues, :through => :countries
    has_many :grounds, :through => :countries
  end # class Continent

  end # module Model
end # module WorldDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-models-2.0.3 lib/sportdb/models/models/world/continent.rb