code: function(keypath, options, attributes) {
        var option_html = "", selected;
        attributes = $.extend(this._attributesForKeyPath(keypath), attributes);
        selected = attributes.value;
        delete attributes['value'];
        $.each(options, function(i, option) {
          var value, text, option_attrs;
          if ($.isArray(option)) {
            value = option[1], text = option[0];
          } else {
            value = option, text = option;
          }
          option_attrs = {value: getStringContent(this.object, value)};
          // select the correct option
          if (value === selected) { option_attrs.selected = 'selected'; }
          option_html += simple_element('option', option_attrs, text);
        });
        return simple_element('select', attributes, option_html);
      }
docs: creates a select element for `keypath` with the option elements specified by an array in `options`. If `options` is an array of arrays, the first element in each subarray becomes the text of the option and the second becomes the value.  ### Example  var options = [ ['Small', 's'], ['Medium', 'm'], ['Large', 'l'] ]; form.select('size', options); //=> <select name='item[size]'><option value='s'>Small</option> ...