Sha256: a69f5e5ed9b3132dc738ef1aae1c610f86aae32b933049964b29f9fdc11205c6
Contents?: true
Size: 613 Bytes
Versions: 6
Compression:
Stored size: 613 Bytes
Contents
### forward references ## require first to resolve circular references module BeerDb::Models ## todo: why? why not use include WorldDb::Models here??? Continent = WorldDb::Models::Continent Country = WorldDb::Models::Country Region = WorldDb::Models::Region City = WorldDb::Models::City Tag = WorldDb::Models::Tag Tagging = WorldDb::Models::Tagging Prop = WorldDb::Models::Prop class Beer < ActiveRecord::Base ; end class Brewery < ActiveRecord::Base ; end end module WorldDb::Models Beer = BeerDb::Models::Beer Brewery = BeerDb::Models::Brewery end
Version data entries
6 entries across 6 versions & 1 rubygems