Class: Ckeditor::AttachmentFile
- Defined in:
- lib/generators/ckeditor/templates/mongoid/shrine/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/shrine/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb,
lib/generators/ckeditor/templates/active_record/active_storage/ckeditor/attachment_file.rb
Constant Summary
Constants included from Backend::Dragonfly
Instance Attribute Summary
Attributes inherited from Asset
Instance Method Summary collapse
-
#url_thumb ⇒ Object
for validation, see github.com/igorkasyanchuk/active_storage_validations.
Methods included from Backend::ActiveStorage
Methods included from Backend::Dragonfly
Methods included from Orm::ActiveRecord::AssetBase
Methods included from Backend::Paperclip
Methods included from Backend::Shrine
Methods included from Orm::Mongoid::AssetBase
Instance Method Details
#url_thumb ⇒ Object
for validation, see github.com/igorkasyanchuk/active_storage_validations
6 7 8 |
# File 'lib/generators/ckeditor/templates/active_record/active_storage/ckeditor/attachment_file.rb', line 6 def url_thumb @url_thumb ||= Ckeditor::Utils.filethumb(filename) end |