#83 ✓resolved
John Eberly

Patch to support non-standard rails primary keys

Reported by John Eberly | March 5th, 2010 @ 05:27 PM | in Bugs

Hi,

Please find an attached small patch to allow sunspot-rails to work with non-standard rails primary keys. ie, when using set_primary_key in a model.

This prevents undefined method errors on find_all_by_id. Please let me know if there is more info needed.

Thanks,

John

Comments and changes to this ticket

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 ยป

Awesome Solr interaction for Ruby

People watching this ticket

Attachments

Referenced by

Pages