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

Export mysql database when facing GTID_PURGED error

I was facing ERROR 3546 (HY000): @@GLOBAL.GTID_PURGED cannot be changed when restoring previously exported mysql database. The solution is to add --set-gtid-purged=OFF setting when exporting.

Concern class with model dependent variations

by jarenas

Custom expandable section with HTML and Tailwind

by jarenas