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.

duncanbeevers's latest activity

Thursday, May 01 2008
90 Enhancement: Add support for named scopes with optional arguments was created in Ruby on Rails
  • duncanbeevers
    duncanbeevers created the ticket at 9:54 PM

    The current declaration of dynamic named scopes requires use of the lambda syntax which has no support for optional arguments or arguments with default values....

Tuesday, April 29 2008
49 add has_element? method to models with has_many/through associations was updated in Ruby on Rails
Friday, April 25 2008
46 with_scope clobbers result attributes when :joins key is specified was updated in Ruby on Rails
  • duncanbeevers
    • Title changed from named_scope should support joins to with_scope clobbers result attributes when :joins key is specified
    by duncanbeevers at 6:27 PM

    Attached test showing with_scope injecting false attributes when :joins key is used in scope.

Thursday, April 24 2008
46 named_scope should support joins was updated in Ruby on Rails
  • duncanbeevers
    duncanbeevers commented at 10:46 PM

    Attached change to ActiveRecord::Base that gives precedence to last-specified select and provides table-name scoping to selects where joins are involved in the...

  • duncanbeevers
    duncanbeevers created the ticket at 7:59 PM

    Using with_scope with a :joins option does not narrow returned fields to those on the primary model resulting in join table attributes being added to the prima...