Sha256: 4c12c71cac6f1ebb345a0a19c8c34badbec2c3b908ae7b29437150989c6aa6ee
Contents?: true
Size: 526 Bytes
Versions: 7
Compression:
Stored size: 526 Bytes
Contents
module C80NewsTz class Issue < ActiveRecord::Base has_and_belongs_to_many :facts, :join_table => 'c80_news_tz_facts_issues' has_and_belongs_to_many :r_blurbs, :join_table => 'c80_news_tz_blurbs_issues' has_many :pdfs, :dependent => :destroy accepts_nested_attributes_for :pdfs, :reject_if => lambda { |attributes| !attributes.present? }, :allow_destroy => true end end
Version data entries
7 entries across 7 versions & 1 rubygems