saving blob data to a file

141 views
Skip to first unread message

mohitnegi

unread,
May 8, 2012, 2:11:03 AM5/8/12
to rubyonra...@googlegroups.com
I have an binary field in my database where i am storing images uploaded by the user.

Now I need to fetch all these images from the database and store them in file system.

Do Ruby provide method to write a blob data into a file system.

David Angga

unread,
May 8, 2012, 5:37:05 AM5/8/12
to rubyonra...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/S6r5cBGPbX4J.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.



--
David Angga Prasetya
RoR Developers

skype: david.angga
phone: +62 85 222 1 5555 2



Reply all
Reply to author
Forward
0 new messages