Jake,
I just tried it myself with the current version of DM and see the
expected results.
Can you post an example script/snippet demonstrating your problem, and include
what version of which DM gems you're using?
cheers,
--jordan
On Jan 12, 2011, at 9:09 AM, jkestr wrote:
> I have a MySQL table with a longtext column but am unable to save
> large text fields. The error displays the same maximum character
> message as it did before I changed the column from a text to longtext.
> I changed the property in my model according to
> http://groups.google.com/group/datamapper/browse_thread/thread/8c84d6135c6df160
> and auto_upgraded, but I still cannot save an object there the value
> is more 65,535 characters.
>
> The DataMapper error is "Content must be at most 65535 characters
> long"
> The MySQL column type is LONGTEXT
> The property deffenition is "property :content, Text, :required =>
> false, :length => 2**32-1"
>
> Do I need to change the property definition from Text to something
> else?
>
>
> Best
> Jake
--
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.