Sha256: c9c336d20177577301bbb2201a550a872770c65674e5a9ef4fc652fd8905fb5e
Contents?: true
Size: 333 Bytes
Versions: 21
Compression:
Stored size: 333 Bytes
Contents
## todo: how to best extends city model? module WorldDB::Models class City has_many :teams, :class_name => 'SportDB::Models::Team', :foreign_key => 'city_id' end end # module WorldDB::Models ## moved to models/forward # module SportDB::Models # City = WorldDB::Models::City # end # module SportDB::Models
Version data entries
21 entries across 21 versions & 1 rubygems