Questions tagged [attachment-fu]

attachment_fu is a plugin by Rick Olson (aka technoweenie) and is the successor to acts_as_attachment.

attachment_fu is a plugin by Rick Olson (aka technoweenie http://techno-weenie.net) and is the successor to acts_as_attachment.

77 questions
1
vote
2 answers

Attachment_fu failing to validate on update

I have been using attachment_fu on a project for a long time and all was fine but now as I am trying to bring the project up to rails 2.3.3 I am running into a strange bug that is driving me nuts. The Attachment, a logo in this case, validates…
triendeau
  • 61
  • 4
1
vote
0 answers

Encrypting data - rails + attachment_fu

We've been using attachment_fu to upload files into our application. We now have to be able to encrypt uploaded data using AES. We use Rails 2.3.8 and Ruby 1.8.7. Attachment_fu is being used to check MIMEtypes, so we can't encrypt with the…
wmjbyatt
  • 686
  • 5
  • 15
1
vote
2 answers

What is the best way to upload a file to another Rails application?

I 've researched and noticed that ActiveResource lack this functionality. So, what is the current state of the art when doing a file upload? One problem with Guillermo's approach is that the request has to be nested, like this: body = { :file =>…
wallyqs
  • 7,456
  • 5
  • 26
  • 25
0
votes
1 answer

Equivalent of attachment_fu's "after_attachment_saved" in Paperclip

Migrating from Rails 2 to 3 and I had to ditch attachment_fu. Other people will probably have the same problem. One of my models using attachment_fu has an after_attachment_saved method defined, which attachment_fu would call on successful upload.…
ssnkl
  • 183
  • 1
  • 10
0
votes
1 answer

public_filename method is undefined for attachment_fu in ruby 1.9

I'm upgrading a RoR app that I inherited, from 1.8.7/2.3.? to 1.9/3.0.9 The app uses attachemnt_fu to allow users to upload photos, but when I try to display a photo on the home page, I get : undefined method `public_filename' for…
0
votes
1 answer

ruby on rails gallery ArgumentError Unknown key(s): attributes, discard_if attachment_fu and paperclip

Hi I'm trying to build a little gallery for myself and tried this link for multiple uploads for a album: http://www.mfischer.com/wordpress/2009/02/02/multiple-image-upload-and-crop-with-rails/ So far I'm running into following error when I visit…
m_sc
  • 154
  • 7
0
votes
1 answer

Rails: Uploading multiple files as a nested model

I am working on a project where it is needed to upload multiple files of different type. I want to store the files in the database (I am not sure if this is the best idea also) as a nested model. May be called document. I have following…
rangalo
  • 5,448
  • 8
  • 46
  • 66
0
votes
1 answer

How to store images in db_files in attachment_fu plugin?

In my rails application I have used attachment_fu plugin for image upload. I am new on rails, I want to store file in attachment_fu db_files table. How to store images in db_files and which path i want to specify to display images? Thanks
Jayashri
  • 4,073
  • 6
  • 25
  • 18
0
votes
1 answer

File upload using attachement_fu in rails

I want to know how to upload files(other than images) using attachement_fu plugin in rails. I successfully uploaded images using attachement_fu, but wasn't able to upload other kinds of files.
althaf_tvm
  • 773
  • 3
  • 15
  • 28
0
votes
1 answer

can rename column size to filesize cause problem in attachment_fu?

can I rename the columns with attachment_fu ? I am using oracle as my database and size is keyword in oracle. so i don't want to create a column with size name. So is it ok to create a column with filesize instead of size while using attachment_fu…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
0
votes
1 answer

file upload with attachment_fu

Right now i am storing files inside public directory in my application. I want to upload file to specific path like http://uploadfacility.com. I have a login and password for that specific…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
0
votes
1 answer

attachment_fu image resizing with s3 storage

I'm facing a problem right now, where in my company, we want to resize the thumbnail images we have on amazon s3 storage using attachment_fu, I've been investigating how to regenerate this thumbnails and had found some guidelines to do it, however…
Roman Gonzalez
  • 1,901
  • 13
  • 18
0
votes
1 answer

file upload with attachment_fu in rails

My file upload is working fine on IE. But it's returning "406 not acceptable" error on firefox. Any solution?
krunal shah
  • 16,089
  • 25
  • 97
  • 143
0
votes
1 answer

Multitasked conversion from attachment_fu to Carrierwave

I have a rake task to convert my photos from attachment_fu to Carrierwave. Is there a way to run the task :convert multiple times in parallel to make this faster ? Here is my working task : namespace :photos do task :convert => :environment do …
0
votes
1 answer

Attachment_fu rotate image in S3 storage Rails

How to rotate image in S3 storage, I'm using Attachment_fu and Amazon S3 , I want to implement a feature that lets users edit existing images by rotating it 90 degrees. I was wondering if anyone had played with this, or had any ideas. I'm currently…