Sha256: 24abfaeb1e89e46c255cab76caea7d3c6aabcf394dd6de3e04da54cc8ba73b59

Contents?: true

Size: 580 Bytes

Versions: 5

Compression:

Stored size: 580 Bytes

Contents

# name           - string
# archival_id    - integer
# archive_number - string
# archived_at    - datetime
class Archival < ActiveRecord::Base
  acts_as_archival

  has_many :archivals,          :dependent => :destroy
  has_many :archival_kids,      :dependent => :destroy
  has_many :archival_grandkids, :dependent => :destroy, :through => :archival_kids
  has_many :exploders,          :dependent => :destroy
  has_many :plains,             :dependent => :destroy
  has_many :polys,              :dependent => :destroy, :as => :archiveable
  has_many :independent_archivals
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_archival-0.5.1 test/fixtures/archival.rb
acts_as_archival-0.5.0 test/fixtures/archival.rb
acts_as_archival-0.4.2 test/fixtures/archival.rb
acts_as_archival-0.4.1 test/fixtures/archival.rb
acts_as_archival-0.4.0 test/fixtures/archival.rb