[Ruby] Distinct in Active Record

Neil Moomey neil at motznik.com
Wed Oct 17 16:46:40 PDT 2007


YourModel.find(:all, :select=>'DISTINCT *')

That works Tom, Thanks!

Neil


More information about the Ruby mailing list