title: sails.js: Model definition of enum - dynamic list of values
body: <p>For the following model definition in sails.js:</p>
  
  <pre><code>attributes: {
    // status field
    status: {
      type: 'string',
      enum: ['verified', 'pending', 'completed']
    },
  
    // OS
    os: {
      type: 'string',
      // can we get these values come from another table, for ex?
      enum: ['linux', 'windows', 'macosx', 'android', 'ios']
    }
  }
  </code></pre>
  
  <p>It so happens that these enum options are not always static, and this can be dynamic, where the options could come from another table, for ex.</p>
  
  <p>Looking for suggestions to accomplish, where the enum values can be taken from another table.</p>