Upload a image code?


#1

pls tellme way to upload a file to data base or relevant example code
without using any plugin like act_as_attachment
xxmithila


#2

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’.