Sha256: ba2604db5245cd396d37c18a28988fcb3868f3fdc9081caa049baa6a9e4c5191

Contents?: true

Size: 225 Bytes

Versions: 60

Compression:

Stored size: 225 Bytes

Contents

class Ckeditor::AttachmentFile < Ckeditor::Asset
  validates_property :format, :of => :data, :in => attachment_file_types unless attachment_file_types.empty?

  def url_thumb
    Ckeditor::Utils.filethumb(filename)
  end
end

Version data entries

60 entries across 60 versions & 4 rubygems

Version Path
glebtv-ckeditor-4.4.7.4 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.7.3 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.7.2 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.7.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.7 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.6 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.1.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.3.4 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.3.3 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.3.2 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.3.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.4.3.0 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.6 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.1.0 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.5 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
ckeditor-4.0.11 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.4 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.3 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.2 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb
glebtv-ckeditor-4.3.2.1 lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb