On Apr 29, 10:21 am, News Aanad
<news.anan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.