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.

Roman Le Négrate's latest activity

Wednesday, December 03 2008
908 Layout MIME type should match the response's was updated in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate commented at 3:47 PM

    Actually, not long after creating this ticket, I rewrote ActionView::Base#pick_template so that it behaves more consistently. And it's been working like a charm...

Saturday, August 30 2008
908 Layout MIME type should match the response's was updated in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate commented at 10:38 PM

    Joshua:

    The 2nd patch fixes the bug as the (new) test passes. Plus, I use Rails with this patch applied in one of my projects and I noticed that that bug is now...

Wednesday, August 27 2008
908 Layout MIME type should match the response's was updated in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate commented at 2:15 AM

    Oops, fixed the filename of the last patch.

  • Roman Le Négrate
    Roman Le Négrate commented at 2:11 AM

    Uploaded a second patch: the same test that was failing, along with an attempt at solving the problem.

    The mime_responds_test.rb test suite now passes when run...

Tuesday, August 26 2008
908 Layout MIME type should match the response's was updated in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate commented at 11:26 PM

    Re-uploaded the failing test as there was a typo in the failing assertion.

  • Roman Le Négrate
    Roman Le Négrate created the ticket at 11:00 PM

    Given layout.html.erb and layout.js.erb, GET /index.js should cause layout.js.erb to be picked as the layout.

    This fails to happen if index.js.erb tries to ren...

Saturday, August 09 2008
777 Simpler AR#exists? was updated in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate commented at 4:05 PM

    @Frederick Cheung No I haven't done any benchmark since performance improvement isn't the primary intent, but rather just a likely bonus.

Thursday, August 07 2008
777 Simpler AR#exists? was created in Ruby on Rails
  • Roman Le Négrate
    Roman Le Négrate created the ticket at 9:48 PM

    Patch to simplify AR#exists?.

    It currently fetches the primary key of the table, but the value is not used after that. The patch makes it only fetch the value ...