On Apr 29, 10:21 am, News Aanad <[email protected]> wrote:
> Hi,
> I am reading one .png file in ruby. I have created a table "Photo_info"
> which has filed "photo_data" with data type varchar(255).
> Now if I want to stroe the data of file in the field "photo_data".
> Can anybody say how to do?

Like i said in your earlier thread, you need to make the column a blob
one (or the image really is tiny (a few hundred bytes), then a
varbinary)

Fred

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

Reply via email to