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:
> pls tellme way to upload a file to data base or relevant example code
> without using any plugin like act_as_attachment
> xxmithila
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to