paperclip_database
paperclip_database copied to clipboard
database storage for paperclip
without this, assignment to :style fails, preventing update of the record
Fix #16 "Speed regression for #attachment accessor (getter) between 2.2.2 and 2.3.1 version".
After adding the downloads_files_for in my controller I get the next error: undefined method `downloads_files_for' for GroupsController:Class Any ideas? Thanks!
Anyone else interested in having attachments versioned with paper_trail? What would need to be done for this?
To get working on Heroku, I had to set the `:path` in the call to `has_attached_file` like so: ``` has_attached_file :avatar, :styles => { :medium => '300x280>' }, :storage =>...
I didn't go deep trying to solve this by myself, but looks like with any image I throw at it, the upload gives me this error. The stacktrace got lost...
I noticed big speed regression for generated #attachment getter. Here are benchmarks comparing paperclip_database version 2.2.2 and 2.3.1: 2.2.2 ``` > puts Benchmark.measure { 10.times { MyModel.last.csv_report } } 0.020000...
I have a working app that uses papercip_database gem version 2.2.2. I recently updated to version 2.3.1 and received the following error message: ActionView::Template::Error (undefined method `const_defined?' for nil:NilClass) I...
I am wondering if we really need new table for each file in class? We can use only one table `paperclip_database_files` which will be in polymorphic association with active record...