On 06/06/08 at 08:27 +0100, Paul Hedderly wrote: > Lucas Nussbaum wrote: > > On 05/06/08 at 21:02 +0100, Paul Hedderly wrote: > > > >> Package: libruby1.8 > >> Version: 1.8.7-1 > >> Severity: grave > >> Justification: renders package unusable > >> > >> All my rails apps give the error (full copy in http://pastie.org/209654) > >> > >> /!\ FAILSAFE /!\ Thu Jun 05 20:17:57 +0100 2008 > >> Status: 500 Internal Server Error > >> wrong number of arguments (2 for 1) > >> /usr/lib/ruby/1.8/cgi/session.rb:267:in `respond_to?' > >> /usr/lib/ruby/1.8/cgi/session.rb:267:in `initialize_without_cgi_reader' > >> ... > >> > >> line 267 in /usr/lib/ruby/1.8/cgi/session.rb has a comma where I'm sure it > >> should not be! > >> > >> session_id, = request.cookies[session_key] > >> > > > > Can you upgrade to version 1.8.7-2 and tell me if it fixed it? > > > Ok it appears to be working.... but I'm still unsure that the comma > should be there in that line. But I'm no expert and it is working now it > seems.
It's just another way to write array[0]: irb(main):001:0> array = [ 3, 4, 5] => [3, 4, 5] irb(main):002:0> array[0] => 3 irb(main):003:0> el, = array => [3, 4, 5] irb(main):004:0> p el 3 => nil > I've closed the bug since it does seem to be resolved in 1.8.7-2 Thank you -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]