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.

ender672's latest activity

Monday, April 05 2010
3871 Chaining scopes can trigger excessive db queries was updated in Ruby on Rails
Wednesday, February 10 2010
3871 Chaining scopes can trigger excessive db queries was updated in Ruby on Rails
  • ender672
    ender672 commented at 2:08 AM

    I was unable to find a reason for the current_scoped_methods_when_defined test in Scope#method_missing. All tests pass without it.

    I am attaching an updated pat...

Saturday, February 06 2010
3871 Chaining scopes can trigger excessive db queries was updated in Ruby on Rails
  • ender672
    • Tag changed from 3.0 scopes to 3.0
    by ender672 at 12:52 AM
  • ender672
    ender672 created the ticket at 12:51 AM

    Scope#method_missing was testing whether the initial scoped methods were missing. However this test triggered Scope#== which actually loads scopes from the data...

Monday, October 19 2009
3385 active_support can not be found was updated in Ruby on Rails
Saturday, October 17 2009
3385 active_support can not be found was updated in Ruby on Rails
  • ender672
    ender672 commented at 11:04 PM

    Lighthouse markdown didn't like my code block. Attaching file instead.

  • ender672
    ender672 commented at 11:02 PM

    The following patch to the arel gem fixes this for me:

    @@@diff From c79d58becb0e8ff039566c58d3b10625e1e028b4 Mon Sep 17 00:00:00 2001
    From: ender672 tle@holymon...

Friday, May 01 2009
2598 Add Hpricot as XmlMini backend was created in Ruby on Rails
  • ender672
    ender672 created the ticket at 11:54 PM

    I added Hpricot support to the Hash to_xml backend. I already have Hpricot installed, so having that as a fast backend makes sense.