Sha256: 6ad9771f7f5d61b1b63af1b8888b73314a3aa4f1d9b3cb39a4fe47acc67ea139

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

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.6.0 spec/data/models.rb
paperclip-permanent_records-0.5.0 spec/data/models.rb
paperclip-permanent_records-0.4.0 spec/data/models.rb