I have a searchlogic that searches for not_null on an association that can occur many times, but I only want to display one UNIQUE/DISTINCT instance of the object:
Company.contact_emails_id_not_null
I only want one Company, no matter how many contact_emails are associated to that Company :through => :contacts
I have a searchlogic that searches for not_null on an association that can occur many times, but I only want to display one UNIQUE/DISTINCT instance of the object:
Company.contact_emails_id_not_null
I only want one Company, no matter how many contact_emails are associated to that Company :through => :contacts