First of all, thanks for this gem. I like the idea behind it and it's working great.
The only thing I haven't been able to figure out is how to handle many-to-many relationships. I have a Reservation class that has_and_belongs_to_many EquipmentPieces.
When a reservation is archived, I want to also archive the corresponding entries in the equipment_pieces_reservations table, but I haven't been able to figure out how to do this.
Never mind - I figured it out. I can create a EquipmentPiecesReservation class that inherits from ActiveRecord::Base and then add that class to my acts_as_archive.yml file. Works like a charm - thanks!
First of all, thanks for this gem. I like the idea behind it and it's working great.
The only thing I haven't been able to figure out is how to handle many-to-many relationships. I have a Reservation class that has_and_belongs_to_many EquipmentPieces.
When a reservation is archived, I want to also archive the corresponding entries in the equipment_pieces_reservations table, but I haven't been able to figure out how to do this.
Thanks again.