Forum: Ruby on Rails [act_as_attachment] upload several files/images

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
39a2c04d648bb5929ba7b99fdfe8f90c?d=identicon&s=25 Ansgar Brauner (Guest)
on 2007-02-01 18:15
(Received via mailing list)
Hi there,

im working on a site where i want to upload some (up to 4) images with
rails plugin "act_as_attachment". Could anybody give me a hint, how to
design the view and the controller to process more then one upload field
with act_as_attachment?

thanks in advance


821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2007-02-01 19:37
(Received via mailing list)
On 2/1/07, Ansgar Brauner <> wrote:
> regards
> purple_haze

It's not the greatest code, but checkout how Mephisto handles it:

More file fields are added with some javascript whammy jammy:
(look for hte Asset object).

Rick Olson
This topic is locked and can not be replied to.