Sha256: da629533b11000f96bac7cd1cebc81acdc88d2c5e59a0784d78ec6f83c6139fa
Contents?: true
Size: 228 Bytes
Versions: 4
Compression:
Stored size: 228 Bytes
Contents
class Shop < ActiveRecord::Base has_many :products list :products, attribute: :name, after_add: :product_added, after_remove: :product_removed def product_added(product) end def product_removed(product) end end
Version data entries
4 entries across 4 versions & 1 rubygems