This works, thanks:)
From: Jonathan Stott
Sent: 12.01.2012 23:41
To: [email protected]
Subject: Re: [DataMapper] Re: how to save a BinData structure in a
sqlite3 db?
What you probably need to do is explictly put the full path to the
constant in the migration

DataMapper::Property::Binary

Regards
Jonathan

On 12 January 2012 20:33, Philipp Kursawe <[email protected]> wrote:
> Oh and, I am on ruby 1.8.7
>
> On Jan 11, 10:30 pm, Jonathan Stott <[email protected]> wrote:
>> On 11 January 2012 20:52, Philipp Kursawe <[email protected]> wrote:
>>
>> > I have this BinData object that provides a to_binary_s method that I
>> > am not able to permanently save using String or Text properties in my
>> > model. It only gets saved till the first 0 char. How would I save
>> > binary data with dm?
>>
>> Use the Binary type, not String or Text
>>
>> Regards
>> Jon
>
> --
> You received this message because you are subscribed to the Google Groups 
> "DataMapper" group.
> 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/datamapper?hl=en.
>

-- 
You received this message because you are subscribed to the Google
Groups "DataMapper" group.
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/datamapper?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
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/datamapper?hl=en.

Reply via email to