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.

There was a problem

You must be a member of this account.

JensC's latest activity

Monday, November 17 2008
1349 named scope with group by bug? was updated in Ruby on Rails
  • JensC
    JensC commented at 3:10 PM

    Hi Hubert,

    Thanks for your very fast answer. True, I know that I can get the sql statement from the logs, but that's not what I meant (sorry not to clear before...

  • JensC
    JensC commented at 2:22 PM

    Hi Hubert,

    Yep, thats exactly the bug I have mentioned in my example and it exists in 2.1.2 too. It would be of course great to see this fixed in the 2.2 releas...

Monday, November 10 2008
1349 named scope with group by bug? was created in Ruby on Rails
  • JensC
    JensC created the ticket at 10:35 AM

    Hi all,

    I have a many to many relation that uses named_scopes with a group option. Executing the named scope returns the correct results. Using the named_scope ...

Monday, November 03 2008
1077 problems with aliased joins was updated in Ruby on Rails
  • JensC
    JensC commented at 10:55 AM

    Oh hell! After creating an example that should show exactly what doesn't work ... it worked! After some more digging I noticed in my environment.rb that I still...

Saturday, November 01 2008
1077 problems with aliased joins was updated in Ruby on Rails
  • JensC
    • Title changed from Chaining scopes with duplicate joins causes alias problem to problems with aliased joins
    by JensC at 11:19 AM

    Hi,

    I have two associations between two tables. One is a one to many and the other is many to may through. To be able to use named_scopes I must have aliased jo...