Sha256: d4d430e429bfcb2d6a1dda48eb2db96a063d5f4179794de4e5654034c3b10512
Contents?: true
Size: 515 Bytes
Versions: 25
Compression:
Stored size: 515 Bytes
Contents
# encoding: utf-8 module WorldDb module Model class State has_many :teams, class_name: 'SportDb::Model::Team', :through => :cities # fix: require active record 4 # has_many :clubs, class_name: 'SportDb::Model::Team', :through => :cities # has_many :national_teams, class_name: 'SportDb::Model::Team', :through => :cities has_many :grounds, class_name: 'SportDb::Model::Ground', :through => :cities end # class State end # module Model end # module WorldDb
Version data entries
25 entries across 25 versions & 1 rubygems