Forum: Ruby on Rails upload a image code?

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.
xxmithila (Guest)
on 2008-11-01 05:16
(Received via mailing list)
pls tellme way to upload a file to data base or relevant example code
without using any plugin like act_as_attachment
DyingToLearn (Guest)
on 2008-11-01 10:24
(Received via mailing list)
Why don't you want to use a plugin?

If you want a code example, the source for acts_as_attachment is one
of the best. If you want a simpler example, take a look at
This topic is locked and can not be replied to.