Errors while using paperclip in rails app
问题 At the moment I try to replace attachment_fu fileuploading plugin with paperclip. But there are some errors while uploading: My controller looks like this: def create add_breadcrumb 'breadcrumb.upload_file', {:action => :new} puts "BLUBBBBBBBBBBBBBBBBBBBBBBBBBBB" puts params[:upload] @upload = Upload.create(params[:upload]) @upload.lecturer_id = current_user.id if @upload.save flash[:notice] = I18n.t("flash.saved") redirect_to :action => :index else render :action => :new end end and my model