State that comma separated data is serialised data

Comma separated values really are a form of serialised data so we should
clarify that we shouldn't store such data in the DB.
This commit is contained in:
Yorick Peterse 2017-08-11 14:06:43 +02:00
parent 862da3cfed
commit 39c5be7a13
No known key found for this signature in database
GPG Key ID: EDD30D2BEB691AC9
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# Serializing Data
**Summary:** don't store serialized data in the database, use separate columns
and/or tables instead.
and/or tables instead. This includes storing of comma separated values as a
string.
Rails makes it possible to store serialized data in JSON, YAML or other formats.
Such a field can be defined as follows: