Saving blob data to a file

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.

ruby file access:
http://pleac.sourceforge.net/pleac_ruby/fileaccess.html

On Tue, May 8, 2012 at 1:11 PM, mohitnegi [email protected] wrote:

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


David A. Prasetya
RoR Developers

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