Serialized values or separate table, which is more efficient?
- by Aravind
I have a Rails model email_condition_string with a word column in it. Now I have another model called request_creation_email_config with the following columns
admin_filter_group:references
vendor_service:references
email_condition_string:references
email_condition_string has many request_creation_email_config and request_creation_email_config belongs to email_condition_string.
Instead of this model a colleague of mine is suggesting that strong the word inside the same model as comma separated values is efficient than storing as a separate model. Is that alright?