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.

This project is archived and is in readonly mode.

Ruby 1.9.2 ActiveResource failure (AWDwR3, section 26)

#3406

In running a scenario that works on Rails 2.3.4, and on Rails 3.0pre, both with Ruby 1.8.7, what I get with Rails 3.0pre and Ruby 1.9.2 is a number of errors:

get /orders/1/line_items.xml

<body><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
  <HEAD><TITLE>Internal Server Error</TITLE></HEAD>
  <BODY>
    <H1>Internal Server Error</H1>
    wrong number of arguments (2 for 0)
    <HR>
    <ADDRESS>
     WEBrick/1.3.1 (Ruby/1.9.2/2009-10-21) at
     127.0.0.1:3000
    </ADDRESS>
  </BODY>
</HTML>
</body>

Observations: somewhere there is a wrong number of arguments involved, but not enough information is placed into the response nor in the log to help debug. Additionally, embedding a HTML response in a is not appropriate for an XML response.

Reported by Sam Ruby · October 21st, 2009 @ 05:08 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Sam Ruby
    Sam Ruby

    Problem was addressed sometime around 10 November, and hasn't reoccurred. This ticket should be closed.

    November 12th, 2009 @ 10:20 AM

  2. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • State changed from new to resolved

    November 12th, 2009 @ 05:48 PM