ruby on rails - Carrierwave gem is not working in Redmine v 2.x Plugin -


I single ???? Using carrier wave gem in a redmine plugin. But it is not working because it works in a simple rail app. For example, in my uploader category, there is a file_uploader.rb file in my uploaders directory that contains the following code.

  class FileUploader & lt; CarrierWave :: Uploader :: Base Storage: file def store_dir "boxelements / # {model.class.to_s.underscore} / # {model.id} / # {mounted_as}" and end   

Please take the uploaders into the main app directory of redmine.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -