Sha256: 89d235aeb767d14a392e560ab324f188f9d03266c7766af015483c420a03a312

Contents?: true

Size: 200 Bytes

Versions: 7

Compression:

Stored size: 200 Bytes

Contents

class LogDay < ActiveRecord::Base
  belongs_to :post
  belongs_to :postable, polymorphic: true
  has_many :log_lines

  has_archive_table
  has_archive_associations [:post, :log_lines, :postable]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
archiving-0.4.4 test/dummy/app/models/log_day.rb
archiving-0.4.3 test/dummy/app/models/log_day.rb
archiving-0.4.1 test/dummy/app/models/log_day.rb
archiving-0.4.0 test/dummy/app/models/log_day.rb
archiving-0.3.1 test/dummy/app/models/log_day.rb
archiving-0.3.0 test/dummy/app/models/log_day.rb
archiving-0.2.1 test/dummy/app/models/log_day.rb