Sha256: 5594dc6d2c54571ee83b65cd8819907b7a8eea6b1fe280c5708de54cbb2d8174

Contents?: true

Size: 429 Bytes

Versions: 70

Compression:

Stored size: 429 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

70 entries across 70 versions & 2 rubygems

Version Path
sportdb-models-2.1.0 lib/sportdb/models/models/world/continent.rb
sportdb-models-2.0.2 lib/sportdb/models/models/world/continent.rb
sportdb-models-2.0.1 lib/sportdb/models/models/world/continent.rb
sportdb-models-2.0.0 lib/sportdb/models/models/world/continent.rb
sportdb-models-1.19.1 lib/sportdb/models/world/continent.rb
sportdb-models-1.19.0 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.6 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.5 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.4 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.3 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.2 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.1 lib/sportdb/models/world/continent.rb
sportdb-models-1.18.0 lib/sportdb/models/world/continent.rb
sportdb-models-1.17.0 lib/sportdb/models/world/continent.rb
sportdb-models-1.16.2 lib/sportdb/models/world/continent.rb
sportdb-models-1.16.1 lib/sportdb/models/world/continent.rb
sportdb-models-1.16.0 lib/sportdb/models/world/continent.rb
sportdb-models-1.15.2 lib/sportdb/models/world/continent.rb
sportdb-models-1.15.1 lib/sportdb/models/world/continent.rb
sportdb-models-1.15.0 lib/sportdb/models/world/continent.rb