Sha256: 559e8f2e6ce2313dda324aa0fb54d621a3ac96fcd2a5cd0caad0600c2db6681e
Contents?: true
Size: 341 Bytes
Versions: 5
Compression:
Stored size: 341 Bytes
Contents
module SportDb module Model class Ground < ActiveRecord::Base belongs_to :country, class_name: 'WorldDb::Model::Country', foreign_key: 'country_id' belongs_to :city, class_name: 'WorldDb::Model::City', foreign_key: 'city_id' has_many :matches end # class Ground end # module Model end # module SportDb
Version data entries
5 entries across 5 versions & 1 rubygems