Re: [Rails] :limit text mysql

2010-08-13 Thread David Kahn
Conor, I think this is relevant - I had similar issue when I was saving reports to a db field. To work around, I changed the datatype of the field to :longtext. You can create or change the field to :longtext in your migration and everyone should be happy. On Fri, Aug 13, 2010 at 12:58 PM, Conor

[Rails] :limit text mysql

2010-08-13 Thread Conor Nugent
I have a rails 3.rc app that I'm developing. I have a text entry in one my models that can sometimes be quite big. I tried setting :limit => 4294967296 on the text column in my migration file but this doesn't seem to have any effect. The column is till created as a TEXT column rather than MEDIUMTEX