upload a image code?

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

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

xxmithila wrote: