duncanbeevers
Developer · Not a member
duncanbeevers's latest activity
Thursday, May 01 2008
-
duncanbeevers created the ticket at 9:54 PMThe 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
-
duncanbeevers commented at 8:01 PMInstead of invoking find_by_id and instantiating a new model, could you instead rely on the optimized include? association method?
Friday, April 25 2008
-
- Title changed from named_scope should support joins to with_scope clobbers result attributes when :joins key is specified
Attached test showing with_scope injecting false attributes when :joins key is used in scope.
Thursday, April 24 2008
-
duncanbeevers commented at 10:46 PMAttached 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 created the ticket at 7:59 PMUsing 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...