Move one record to trash using Rails concern

Useful concern to allow you to move records to the trash without deleting the record. Please, write a migration to add the column trashed_at to your table

Welcome to CodeSnips Alessandro! Enjoy your time here…

Martin Sojka, Maker of CodeSnips