krystal / attach Goto Github PK
View Code? Open in Web Editor NEWSimple file uploads for Active Record models
License: MIT License
Simple file uploads for Active Record models
License: MIT License
rake attach:install:migrations
gives the following error
rake aborted! Don't know how to build task 'attach:install:migrations' (see --tasks) /home/manas/.rvm/gems/ruby-2.3.2/gems/rake-12.3.0/exe/rake:27:in /home/manas/.rvm/gems/ruby-2.3.2/bin/ruby_executable_hooks:24:in /home/manas/.rvm/gems/ruby-2.3.2/bin/ruby_executable_hooks:24:in
(See full trace by running task with --trace)
Please help me out with this
Simple database file attachment raises error in browser: ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
Statement: <%= link_to comment.comment_attachment.file_name,comment.comment_attachment.url %>
Error seems to have been introduced with recent browser updates, the command was working in prior version of Chrome. Now the only browser that will successfully download an attachment from a database table is Edge.
Confirmed this is not related to bug with commas in the filename. Also installed latest version of the gem to remove the appended "," but it did not fix the error.
Would you be so kind as to elaborate upon the process to upload multiple files from a form? I do not seem to have much success configuring the f.input to allow multiple file selections.
Or is this capability not present?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.