Sha256: 97dfd3f93dbb4c0d9366b113a1c7abeb12d790fc916e02004bc183c64a096777

Contents?: true

Size: 254 Bytes

Versions: 39

Compression:

Stored size: 254 Bytes

Contents

class Ckeditor::AttachmentFile < Ckeditor::Asset
  has_attached :data
  
  validates_attachment_size :data, :less_than => 100.megabytes
  validates_attachment_presence :data
	
	def url_thumb
	  @url_thumb ||= Ckeditor::Utils.filethumb(filename)
	end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
fullstack-admin-0.1.55 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.54 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.53 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.52 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.51 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.50 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.49 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.48 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.47 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.46 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.45 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.44 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.43 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.42 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.41 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.40 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.39 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.38 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.37 app/models/ckeditor/attachment_file.rb