This post originated from an RSS feed registered with Ruby Buzz
by Guy Naor.
Original Post: Fixing multipart POST in Rails
Feed Title: Famundo - The Dev Blog
Feed URL: http://devblog.famundo.com/xml/rss/feed.xml
Feed Description: A blog describing the development and related technologies involved in creating famundo.com - a family management sytem written using Ruby On Rails and postgres
Our API is REST based, and so we need all the REST verbs to work. Unfortunately Rails doesn't work correctly with multipart PUT submits. The fix is very simple, and it's a one line change in the file actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb: