Sha256: 1c679c3f9780d43891e7610e8ecf2c4df970128a52207806b933d271b0cfad4c

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

class Post < ActiveRecord::Base
  has_attached_file :image,
                    :url => "/system/:class/:attachment/:id/:locale/:style-:fingerprint.:extension"

  translates :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :image_fingerprint
end

class Untranslated < ActiveRecord::Base
  has_attached_file :image,
                    :url => "/system/:class/:attachment/:id/:style-:fingerprint.:extension"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paperclip-globalize3-0.1.0 spec/data/models.rb