Jump to content

The ultimate community for Ruby on Rails developers.


Photo

CLOB data type in rails

rails model column clob

  • Please log in to reply
No replies to this topic

#1 kamaliitm

kamaliitm

    Passenger

  • Members
  • 1 posts

Posted 17 December 2013 - 08:39 AM

Hi,

 

Is there any CLOB data type in rails? I know there is "text" type but it has a limit on the number of characters. Basically I want to save a character sequence (in fact, a json string) of dynamic length. With all the escape characters in string (created by ruby), the string length becomes way too high and is not getting saved.

 

I'm using mysql adaptor. 

 

Can someone please help me out here?

 

Kamal






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users