delete_all misbehaving in active_records

Quoting Bharat Ruparel <>:

I have two tables: feeds and feed_items in a one-to-many relationship. I selecting feeds from the feeds table and populating "many" items in the feed_items table for further processing. This happens in a loop. Before starting to populate feed_items for each feed read in, I execute the following statement to wipe feed_items table clean:


Do it for the class, e.g., FeedItem.delete_all

HTH   Jeffrey

Thanks Jeffery. I just did that and it works! Obviously an oversight. Kind regards, Bharat