Joined August 2012
·
Achievements
668 Karma
146,487 Total ProTip Views
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
@rshetty
When rails serializes the object for you into a string (via yaml), the chances that the string exceeds the character limit of a :string type column is very high. That is why you need :text. If you serialize an object that doesn't ever exceed the :string boundaries, you probably don't need to serialize it in the first place.
If you mean important reasons for serializing, that's really just up to application logic. It's not really needed that much, and usually you can split it up into a table instead, but I had a very specific need for it.
Hope that helps!