Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jonathan Sutherland's latest activity

Tuesday, February 10 2009
1875 Posting a multipart form with file data can break params assignment (in 2.3) was updated in Ruby on Rails
  • Jonathan Sutherland
    Jonathan Sutherland commented at 8:04 PM

    Looks good Josh.

    Don't see this issue anymore with Rails edge + vendored Rack.

Friday, February 06 2009
1875 Posting a multipart form with file data can break params assignment (in 2.3) was updated in Ruby on Rails
  • Jonathan Sutherland
    Jonathan Sutherland commented at 5:58 PM

    Appears it may be a parsing issue in Rack's Utils::Multipart.parse_multipart.

    For a posted JPEG, use debugger to examine Utils::Multipart.parse_multipart as it ...

Wednesday, February 04 2009
1875 Posting a multipart form with file data can break params assignment (in 2.3) was updated in Ruby on Rails
  • Jonathan Sutherland
    Jonathan Sutherland commented at 5:39 PM

    Also,

    Appears to occur for .jpg files only (thus far). No issues testing with .gif, .pdf, .ppt and .mov.

    Possibly relevant: I'm running Mac OS X 10.5.6.

  • Jonathan Sutherland
    Jonathan Sutherland commented at 5:19 PM

    Jan,

    Ensure you test with <%= f.file_field ... %> appearing BEFORE <%= f.text_field ... %> in your view.

    Reproducing this issue is dependent on the order in whi...

  • Jonathan Sutherland
    Jonathan Sutherland created the ticket at 3:26 PM

    When posting a multipart form to create a record, posted attributes are not being included in the controller's params hash.

    Example:

    POST a Contact with a photo...