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-ckeditor-0.1.1 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.19 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.18 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.17 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.16 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.15 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.14 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.13 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.12 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.11 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.9 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.8 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.7 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.6 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.5 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.4 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.3 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.2 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.2.1 app/models/ckeditor/attachment_file.rb
fullstack-admin-0.1.56 app/models/ckeditor/attachment_file.rb