class ActiveFedora::SimpleDatastream

def update_indexed_attributes(params={}, opts={})

def update_indexed_attributes(params={}, opts={})
  raise "can't modify frozen #{self.class}" if frozen?
  # if the params are just keys, not an array, make then into an array.
  new_params = {}
  params.each do |key, val|
    if key.is_a? Array
      new_params[key] = val
    else
      new_params[[key.to_sym]] = val
    end
  end
  super(new_params, opts)
end