Sha256: 1f8c9cd44023dd6e29d2e6cf0996ec05ec8cb1e4815f509bca425f1d087f2f99
Contents?: true
Size: 178 Bytes
Versions: 2
Compression:
Stored size: 178 Bytes
Contents
class Pack < Product has_and_belongs_to_many :products, :list => true, :order => 'position' def clone pack = super pack.product_ids = product_ids pack end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forgeos_commerce-1.9.1.rc1 | app/models/pack.rb |
forgeos_commerce-1.9.0 | app/models/pack.rb |