paperclip No handler found for “file.jpg” rails 4
问题 I'm having problem with setting up paperclip gem in one of me apps. I get No handler found for error message when i try to save uploaded file. Things that I've done migration: add_attachment :orders, :file model: has_attached_file :file validates_attachment_content_type :file, :content_type => /\Aimage\/.*\Z/ controller: def order_params params.require(:order).permit(:file) view: form_tag url, method: :post, html: {multipart: true} ... = file_field_tag 'order[file]', disabled: true, id: 'mtd