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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -