Skip to content


Subversion checkout URL

You can clone with
Download ZIP


The path of CkeditorPictureUploader#store_dir is not prepended with "/system" #93

stanislaw opened this Issue · 3 comments

4 participants



rails generate ckeditor:install --orm=active_record --backend=carrierwave

results in that the path of CkeditorPictureUploader#store_dir is not prepended with "public/system", while default CarrierWave generated uploaders have

  # Override the directory where uploaded files will be stored.
  # This is a sensible default for uploaders that are meant to be mounted:
  # def store_dir
  #   "public/system/#{mounted_as.to_s.pluralize}/#{}"
  # end

It leads to that ckeditor-uploaded pictures are not shared beetween deploys.

Did I overlook something? Is there any specific reason for this?


have this problem in my app, is there anybody fixed this?


Actually it should not be a "problem" for you - just set the right path manually as did I.

I have:

  def store_dir

I opened this issue because I wondered about the default layout that is being created by ckeditor's generators.


I am using mongodb in rails. what thing should be done in order to wwork foe file and zip file attachment and downloads? All things are working fine except file download. I can insert the zip file in my input. But i canntot download that zip file from front end. I have inserted

def ckeditor_pictures_scope(options = {})

def ckeditor_attachment_files_scope(options = {})
in my application_controller.rb also. Where i am missing? I think u can give the answer so i posted here .. sorry

@galetahub galetahub closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.