Sha256: bdd623b1cbb4e79d0a8f33beb20df05a0704fa0cc8c0bf5a342add22ac05a12f
Contents?: true
Size: 861 Bytes
Versions: 1
Compression:
Stored size: 861 Bytes
Contents
# frozen_string_literal: true # == Schema Information # # Table name: assets # # id :integer not null, primary key # data_file_name :string(255) not null # data_content_type :string(255) # data_file_size :integer # assetable_id :integer not null # assetable_type :string(25) not null # type :string(25) # guid :string(255) # locale :integer default(0) # user_id :integer # sort_order :integer default(0) # width :integer # height :integer # created_at :datetime # updated_at :datetime # public_token :string(255) # class AttachmentFile < Asset sunrise_uploader AttachmentFileUploader validates_filesize_of :data, maximum: 50.megabytes.to_i def thumb_url; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/models/media/attachment_file.rb |