Sha256: 8c15ee39806d557e8cc17bb0b2b67e8f54d68bd4cb0b8dceb7447875ce51108c
Contents?: true
Size: 282 Bytes
Versions: 6
Compression:
Stored size: 282 Bytes
Contents
class ShopGroupsDataset < Dataset::Base uses :shop_products def load create_record :shop_groups, :breakfast, :name => 'breakfast' shop_groups(:breakfast).products = [ shop_products(:crusty_bread), shop_products(:choc_milk) ] end end
Version data entries
6 entries across 6 versions & 1 rubygems