title: Pros and Cons of Postgres (array) vs Rails Model Serialize
body: <p>What are the pros and cons of setting the Postgres column as array in a migration vs using a string field with Serialize in a rails Model?</p>
  
  <pre><code>t.string :tags, array: true, default: []
  </code></pre>
  
  <p>vs </p>
  
  <pre><code># Serialize a preferences attribute
  class User &lt; ActiveRecord::Base
    serialize :tags
  end
  </code></pre>
  
  <p>This post mentioned some good notes on the topic, but would like more views:
  <a href="https://stackoverflow.com/questions/17283854/new-data-not-persisting-to-rails-array-column-on-postgres?rq=1">New data not persisting to Rails array column on Postgres</a>
  <a href="https://stackoverflow.com/questions/26564946/rails-4-field-type-for-multiselect-with-predefined-values?rq=1">Rails 4 field type for multiselect with predefined values</a></p>