Forum: Ruby on Rails upload a image code?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F2b6d7bf3a3d324a5d0fb4894923d372?d=identicon&s=25 xxmithila (Guest)
on 2008-11-01 04: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
xxmithila
A45f650cce5746dd89aafb3176b47b02?d=identicon&s=25 DyingToLearn (Guest)
on 2008-11-01 09: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
'Paperclip'.
This topic is locked and can not be replied to.