Sha256: 7b6677f5b666c707457daffca44c791676c866c18e53e9817fadf34e136d07a5

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

# archival_id     - integer
# archive_number  - string
# archived_at     - datetime
class PgExploder < ActiveRecord::Base
  establish_connection $dbconfig["pg"]
  self.table_name = "exploders"
  acts_as_archival
  belongs_to :pg_archival, :foreign_key => :archival_id
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_archival-1.1.1 test/fixtures/pg_exploder.rb
acts_as_archival-1.1.0 test/fixtures/pg_exploder.rb
acts_as_archival-1.0.0 test/fixtures/pg_exploder.rb
acts_as_archival-0.6.1 test/fixtures/pg_exploder.rb
acts_as_archival-0.6.0 test/fixtures/pg_exploder.rb