Hi! You should save the image path in the database (create a column for your model - do a migration for this) and then, when you load your model, you could retrieve your image using the path information stored in the database (use File.read or something like this to load your image).
http://railscasts.com/episodes/134-paperclip https://github.com/thoughtbot/paperclip http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/ Best regards, Everaldo On Wed, Aug 3, 2011 at 8:10 AM, john paul <[email protected]> wrote: > Hi sir, > > I got the file path from image file name , i need how to save tha path in > database pls help me because am i newpep > > -- > 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 [email protected]. > 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. > -- 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 [email protected]. 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.

