Sha256: 474b3bb009eee2cf89daa6c623204c976e0a049d8859619277fc75ecdcde9df8

Contents?: true

Size: 196 Bytes

Versions: 12

Compression:

Stored size: 196 Bytes

Contents

class AttachmentFile < Asset
  include AbAdmin::Models::AttachmentFile

  ab_admin_uploader AttachmentFileUploader
  validates_filesize_of :data, maximum: 150.megabytes

  self.max_size = 150
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ab_admin-0.11.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.10.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.9.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.8.3 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.8.2 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.8.1 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.8.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.7.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.6.1 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.6.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.5.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb
ab_admin-0.4.0 lib/generators/ab_admin/install/templates/models/attachment_file.rb