Sha256: d5665c4e20f9cb8fb78937ecb36b80d8788e3fbc40e9ff1e6889dc1881859962
Contents?: true
Size: 275 Bytes
Versions: 6
Compression:
Stored size: 275 Bytes
Contents
module Shop module Models module Page def self.included(base) base.class_eval do has_one :shop_category, :dependent => :delete has_one :shop_product, :dependent => :delete end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems