[LRUG] Request for assistance with Rails performance oddity

Andrew Stewart boss at airbladesoftware.com
Sun Oct 31 03:01:26 PDT 2010


On 31 Oct 2010, at 08:58, John Winters wrote:
> I do need to do a destroy, because I need to delete the subsidiary records
> too.  I can't use destroy_all because I want to destroy records only in a
> specified range.

You can pass a conditions hash to #destroy_all with the range you want to destroy.  But I don't think this will solve your problem!


More information about the Chat mailing list