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.

dstamat (at elctech)'s latest activity

Saturday, June 13 2009
2778 [PATCH] Association count with joins/includes was updated in Ruby on Rails
  • dstamat (at elctech)
    dstamat (at elctech) commented at 12:57 AM

    Sigh... the latest patch cleans up some things I didn't catch in the diff.

  • dstamat (at elctech)
    • Title changed from HABTM and named_scope with include: [w/ Failing Test Attached] to [PATCH] Association count with joins/includes
    by dstamat (at elctech) at 12:36 AM

    Finally got a chance to look at this. See attached for a proposed fix.

Friday, June 12 2009
2778 HABTM and named_scope with include: [w/ Failing Test Attached] was updated in Ruby on Rails
  • dstamat (at elctech)
    • Title changed from HABTM Count, Include with Limit to HABTM and named_scope with include: [w/ Failing Test Attached]
    by dstamat (at elctech) at 1:45 AM

    My explanation sucks, so, see attached for a failing test.

Monday, June 08 2009
2778 HABTM Count, Include with Limit was updated in Ruby on Rails
  • dstamat (at elctech)
    dstamat (at elctech) commented at 4:55 AM

    Forgot to mention, this is an issue related to named_scope (or scoping in general).

  • dstamat (at elctech)
    dstamat (at elctech) created the ticket at 1:09 AM
    class User < ActiveRecord::Base                                                                                                                                ...
Tuesday, May 12 2009
2591 Passing in Fixnum to First/Last Finders was updated in Ruby on Rails
  • dstamat (at elctech)
    dstamat (at elctech) commented at 12:50 AM

    Hmm... my 'code' blocks didn't render. Let me retry with the "at" symbol tag:

    @Raj: Good points, but I think that your examples don't necessarily read as well. ...

  • dstamat (at elctech)
    dstamat (at elctech) commented at 12:47 AM

    @Raj: Good points, but I think that your examples don't necessarily read as well. For example: User.first(:limit => 3) I read it as "Give me the first User, but...

Friday, May 01 2009
2591 Passing in Fixnum to First/Last Finders was created in Ruby on Rails