Re: [Rails] String column -> Text, 255 limit?

2011-08-20 Thread Michael Pavling
On 20 August 2011 09:32, Michael Pavling wrote: > If you check section 3.2.1 of the HTTP RFC, it states: It would've been polite to include the link! :-) http://www.faqs.org/rfcs/rfc2068.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr

Re: [Rails] String column -> Text, 255 limit?

2011-08-20 Thread Michael Pavling
On 19 August 2011 17:35, Philip Hallstrom wrote: >> I think that the limit can be 2048 as I recall that is the max for a URL.  I >> can't find a reference to back that up at the moment, but I think that this >> is what the sitemap specification (see Google) allows, too. > > http://support.micros

Re: [Rails] String column -> Text, 255 limit?

2011-08-19 Thread Philip Hallstrom
>>> So I'm using a column in my database to serialize a hash of extra data >>> about an object. Stuff I'd want when displaying, but not anything else I >>> care to have structured access to in my DB. I recently started storing an >>> URL in field, so I decided I'd better change the column type

Re: [Rails] String column -> Text, 255 limit?

2011-08-18 Thread Rob Biedenharn
On Aug 17, 2011, at 7:38 PM, Philip Hallstrom wrote: On Aug 17, 2011, at 3:32 PM, John Hinnegan wrote: So I'm using a column in my database to serialize a hash of extra data about an object. Stuff I'd want when displaying, but not anything else I care to have structured access to in my D

Re: [Rails] String column -> Text, 255 limit?

2011-08-17 Thread John Hinnegan
That would be easier for sure. I was just guessing that the limit param was put in because the db was just changing the type on the column, not actually changing the size allocated to the column per record. -- You received this message because you are subscribed to the Google Groups "Ruby on

Re: [Rails] String column -> Text, 255 limit?

2011-08-17 Thread Philip Hallstrom
On Aug 17, 2011, at 3:32 PM, John Hinnegan wrote: > So I'm using a column in my database to serialize a hash of extra data about > an object. Stuff I'd want when displaying, but not anything else I care to > have structured access to in my DB. I recently started storing an URL in > field, so

[Rails] String column -> Text, 255 limit?

2011-08-17 Thread John Hinnegan
So I'm using a column in my database to serialize a hash of extra data about an object. Stuff I'd want when displaying, but not anything else I care to have structured access to in my DB. I recently started storing an URL in field, so I decided I'd better change the column type from string (wh