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.

Chad Jolly's latest activity

Tuesday, March 24 2009
261 has_many through uniq generates invalid sql was updated in will_paginate library
Friday, January 16 2009
261 has_many through uniq generates invalid sql was updated in will_paginate library
  • Chad Jolly
    Chad Jolly commented at 8:57 PM

    oops, here's the right diff.

  • Chad Jolly
    Chad Jolly created the ticket at 8:51 PM
    
    has_many :uniq_replies, :source => :replies, :through => :topics, :uniq => true
    

    pagination generates invalid sql.

    from test/console

    
    >> Project.first.uniq_...