ActionView::Template::Error: ActiveStorage::InvariableError
offwhite opened this issue · 0 comments
offwhite commented
I have a generic editor setup with active storage and I'm getting and error when i attempt to browse images on the server. Uploads and image viewing works as expected.
ActionView::Template::Error: ActiveStorage::InvariableError
thrown here
# app/models/ckeditor/picture.rb:7
def url_content
rails_representation_url(storage_data.variant(resize: '800>').processed, only_path: true)
end
My config is very simple:
# initializer
Ckeditor.setup do |config|
require 'ckeditor/orm/active_record'
end
# config env
config.active_storage.service = :amazon