[Rails] BLOBs and fixtures
Dmitry V. Sabanin
sdmitry at lrn.ru
Thu Nov 11 12:34:20 GMT 2004
On Tuesday 09 November 2004 13:49, Dmitry V. Sabanin wrote:
> Hi!
>
> Me again :) How can I test models that contain BLOB fields? I'm not sure
> I can do this with fixtures, but maybe I'm overlooking something really
> big.
Here I am, answering my own question. You can store BLOBs easily with YAML
fixtures, all you'll need is a simple YAML editor script, to insert binary
data into fixture easily.
P.S. I had to ticket 2 patches to make this work :D
--
sdmitry -=- Dmitry V. Sabanin
MuraveyLabs.
Spam Here -> postmaster at sco.com
More information about the Rails
mailing list