#177 ✓invalid
javier

Can't use :group option in finders

Reported by javier | 2008-01-11 06:01:34 UTC

i can't use :group => like :order =>

the object is to do an sql like this sum(enanos) as enanos * from ...

i need the GROUP BY option, suggestions?

and the link that announce the solution is down.

Comments and changes to this ticket

  • Mislav

    Mislav 2008-01-18 13:51:06 UTC

    • State changed from “new” to “open”
    • Title changed from “:group” to “Can't use :group option in finders”
    • Assigned user changed from “Chris Wanstrath” to “Mislav”

    Javier,

    I need more info on this. Can you paste me the call to a paginating finder that isn't working for you? Are you getting an error? Is wrong SQL generated? What happens if you use :group option with an ordinary `find` instead of `paginate`?

    Thanks

  • javier

    javier 2008-01-24 15:40:09 UTC

    look at this link,

    http://err.lighthouseapp.com/pro...

    here said:

    Fix use of :group option with will_paginate [Mike Garey] [#29

    state:resolved]

    but the named link is down

    http://require.errtheblog.com/pl...

    please some help

  • Mislav

    Mislav 2008-10-08 23:14:34 UTC

    • State changed from “open” to “invalid”
    • Tag set to “group, will_paginate”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Everyone's favorite Ruby library for pagination of practically anything!

People watching this ticket

Pages