Hi, I have binary images stored in a table which I wish to encode/decode with base64 before reading into html object:
<object data="data:image/foo;base64, ..base64 data.." />.
How can I do this in RubyRails?
Hi, I have binary images stored in a table which I wish to encode/decode with base64 before reading into html object:
<object data="data:image/foo;base64, ..base64 data.." />.
How can I do this in RubyRails?