Sha256: e3c68cf7b8f7aa9111723db3b02e968bb24d7fcabff289e085a1201352163f0b
Contents?: true
Size: 422 Bytes
Versions: 13
Compression:
Stored size: 422 Bytes
Contents
module C80NewsTz class Gallery < ActiveRecord::Base belongs_to :company belongs_to :notice has_many :gphotos, :dependent => :destroy accepts_nested_attributes_for :gphotos, :reject_if => lambda { |attributes| !attributes.present? }, :allow_destroy => true end end
Version data entries
13 entries across 13 versions & 1 rubygems