couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From faust 1111 <faust...@gmail.com>
Subject Upload file with Rails
Date Mon, 05 Apr 2010 21:42:58 GMT
i try upload file
i use Rails 3 and CouchRest
like this

@video = Video.new(params[:video])

   if @video.save
     @video.put_attachment('source', params[:video][:source])
   end

and have error

redundant UTF-8 sequence

backtrace
http://gist.github.com/356934

Can any one help?
any examples uploading files?

Mime
View raw message