Hi! Usually, people save only the path for the image in the database and stores the binary file in the filesystem.
Take a look in some gems, like paperclip, that do this job - https://github.com/thoughtbot/paperclip Best Regards, Everaldo On Tue, Aug 2, 2011 at 10:59 AM, john paul <[email protected]> wrote: > Hi have doing one ruby project i can upload image in mysql database save in > binary > if u have any idea help me > > -- > 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.

