How to delete polymorphic models cascade

You will not be able to add the usual foreign keys for cascading delete records. But this can be implemented using a database.To do this, you need to write a trigger in the database that will run the delete function for each record.clas...
How to delete polymorphic models cascade #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles