Sha256: 2591ba56931b44acb4e74bb2988ceb8e450babfd539c253c3d2e8b1a2f644dc8
Contents?: true
Size: 421 Bytes
Versions: 17
Compression:
Stored size: 421 Bytes
Contents
# encoding: UTF-8 module WorldDb module Model class Country has_many :beers, :class_name => 'BeerDb::Model::Beer', :foreign_key => 'country_id' has_many :brands, :class_name => 'BeerDb::Model::Brand', :foreign_key => 'country_id' has_many :breweries, :class_name => 'BeerDb::Model::Brewery', :foreign_key => 'country_id' end # class Country end # module Model end # module WorldDb
Version data entries
17 entries across 17 versions & 2 rubygems