Sha256: 228ca20cf9eeec2a16e56489a5d2a6eeb94e5158996f5a20f9a63eb37c5fd625

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

# frozen_string_literal: true

class Post < ActiveRecord::Base
  has_attached_file :image,
    url: '/system/:test_env_number/:class/:attachment/:id/:style-:fingerprint.:extension'
  validates_attachment :image, content_type: {content_type: ['image/png']}
end

class PermanentPost < ActiveRecord::Base
  has_attached_file :image,
    url: '/system/:test_env_number/:class/:attachment/:id/:style-:fingerprint.:extension'
  validates_attachment :image, content_type: {content_type: ['image/png']}
end

class Uid < ActiveRecord::Base
end

class PermanentUid < ActiveRecord::Base
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paperclip-permanent_records-0.8.1 spec/data/models.rb
paperclip-permanent_records-0.8.0 spec/data/models.rb
paperclip-permanent_records-0.7.2 spec/data/models.rb