Paperclip doesn’t accept multiple files in Rails 2.3

February 17, 2009

 
No Gravatar

Those of you who have upgraded to Rails 2.3 may have encountered a bug where Thoughtbot’s Paperclip doesn’t want to accept multiple file attachments. I checked my models, migrations, and forms but I couldn’t figure it out for the life of me.

It turns out there is some kind of bug with the Rack interface that is wonky in 2.3. By updating to edge Rails I was able to fix this little bug.

  • Joe
    Does this also affect "polymorphic paperclip", I guess it would huh?

    What's the error you are getting? I'm wondering if this is what's been stopping me.
  • Once 2.3 is officially released we'll be sure to have full support in paperclip and our other plugins, asap.
  • I didn't doubt it! This little bug had me scratching my head. Does the Rails 2.3 RC also cause problems where attachments are overwritten even if no file has been selected?
blog comments powered by Disqus