To edit pages or tickets please login with username/password: aaf/aaf

Ticket #178 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

records_for_rebuild fails if there's an :include option

Reported by: aaf Assigned to: jk
Priority: major Milestone:
Component: 0plugin Version:
Keywords: Cc: nathaniel@talbott.ws

Description

records_for_rebuild doesn't qualify the table when defining the conditions for fast batches, thereby dooming it to fail if it's called within a scope that :includes. Simply changing it to "#{table_name}.id > ?" works like a charm.

Change History

10/18/07 18:39:06 changed by aaf

  • cc set to nathaniel@talbott.ws.

10/21/07 08:56:44 changed by jk

  • status changed from new to closed.
  • resolution set to fixed.

To edit pages or tickets please login with username/password: aaf/aaf